Fix what's new screen
This commit is contained in:
parent
0bff6d1f3a
commit
911e18bf89
11 changed files with 60 additions and 43 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue