Never follow system theme on Android versions prior to Android 9
This commit is contained in:
parent
857aab3182
commit
035dd848ca
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class ThemeManager(private val context: Context) {
|
|||
get() = when (K9.appTheme) {
|
||||
AppTheme.LIGHT -> Theme.LIGHT
|
||||
AppTheme.DARK -> Theme.DARK
|
||||
AppTheme.FOLLOW_SYSTEM -> getSystemTheme()
|
||||
AppTheme.FOLLOW_SYSTEM -> if (Build.VERSION.SDK_INT < 28) Theme.LIGHT else getSystemTheme()
|
||||
}
|
||||
|
||||
val messageViewTheme: Theme
|
||||
|
|
Loading…
Reference in a new issue