Never follow system theme on Android versions prior to Android 9

This commit is contained in:
cketti 2020-03-15 02:09:27 +01:00
parent 857aab3182
commit 035dd848ca

View file

@ -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