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