Fix what's new screen

This commit is contained in:
h4h13 2020-04-28 15:05:14 +05:30
parent 0bff6d1f3a
commit 911e18bf89
11 changed files with 60 additions and 43 deletions

View file

@ -10,6 +10,7 @@ import code.name.monkey.appthemehelper.R
object MaterialValueHelper {
@SuppressLint("PrivateResource")
@JvmStatic
@ColorInt
fun getPrimaryTextColor(context: Context?, dark: Boolean): Int {
return if (dark) {
@ -18,6 +19,7 @@ object MaterialValueHelper {
}
@SuppressLint("PrivateResource")
@JvmStatic
@ColorInt
fun getSecondaryTextColor(context: Context?, dark: Boolean): Int {
return if (dark) {
@ -26,6 +28,7 @@ object MaterialValueHelper {
}
@SuppressLint("PrivateResource")
@JvmStatic
@ColorInt
fun getPrimaryDisabledTextColor(context: Context?, dark: Boolean): Int {
return if (dark) {
@ -34,6 +37,7 @@ object MaterialValueHelper {
}
@SuppressLint("PrivateResource")
@JvmStatic
@ColorInt
fun getSecondaryDisabledTextColor(context: Context?, dark: Boolean): Int {
return if (dark) {