forked from upstream-mirrors/quik
Disable PreferenceViews instead of hiding them
This commit is contained in:
@@ -119,13 +119,12 @@ class TextViewStyler @Inject constructor(
|
||||
else -> return
|
||||
}
|
||||
|
||||
setTextColor(when (colorAttr) {
|
||||
COLOR_THEME -> colors.theme().theme
|
||||
COLOR_PRIMARY_ON_THEME -> colors.theme().textPrimary
|
||||
COLOR_SECONDARY_ON_THEME -> colors.theme().textSecondary
|
||||
COLOR_TERTIARY_ON_THEME -> colors.theme().textTertiary
|
||||
else -> currentTextColor
|
||||
})
|
||||
when (colorAttr) {
|
||||
COLOR_THEME -> setTextColor(colors.theme().theme)
|
||||
COLOR_PRIMARY_ON_THEME -> setTextColor(colors.theme().textPrimary)
|
||||
COLOR_SECONDARY_ON_THEME -> setTextColor(colors.theme().textSecondary)
|
||||
COLOR_TERTIARY_ON_THEME -> setTextColor(colors.theme().textTertiary)
|
||||
}
|
||||
|
||||
setTextSize(textView, textSizeAttr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user