mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-25 00:56:35 +00:00
match COLORS_DARK default (#637)
This commit is contained in:
parent
4354b33fa4
commit
605c5842e9
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
|
|||
boolean isNight = ResourceUtils.isNight(context.getResources());
|
||||
if (ColorsSettingsFragment.Companion.getForceOppositeTheme()) isNight = !isNight;
|
||||
final String themeColors = (isNight && readDayNightPref(prefs, context.getResources()))
|
||||
? prefs.getString(Settings.PREF_THEME_COLORS_NIGHT, KeyboardTheme.THEME_DARKER)
|
||||
? prefs.getString(Settings.PREF_THEME_COLORS_NIGHT, KeyboardTheme.THEME_DARK)
|
||||
: prefs.getString(Settings.PREF_THEME_COLORS, KeyboardTheme.THEME_LIGHT);
|
||||
final String themeStyle = prefs.getString(Settings.PREF_THEME_STYLE, KeyboardTheme.STYLE_MATERIAL);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue