add missing default for navbar_color in prefs, and change in SettingsValues

This commit is contained in:
Helium314 2025-01-13 17:18:07 +01:00
parent 44015f6857
commit 4638709db5
2 changed files with 3 additions and 2 deletions

View file

@ -253,7 +253,7 @@ public class SettingsValues {
mAddToPersonalDictionary = prefs.getBoolean(Settings.PREF_ADD_TO_PERSONAL_DICTIONARY, false);
mUseContactsDictionary = SettingsValues.readUseContactsEnabled(prefs, context);
mCustomNavBarColor = prefs.getBoolean(Settings.PREF_NAVBAR_COLOR, false);
mCustomNavBarColor = prefs.getBoolean(Settings.PREF_NAVBAR_COLOR, true);
mNarrowKeyGaps = prefs.getBoolean(Settings.PREF_NARROW_KEY_GAPS, true);
mSettingsValuesForSuggestion = new SettingsValuesForSuggestion(
mBlockPotentiallyOffensive,

View file

@ -64,7 +64,8 @@
<SwitchPreference
android:key="navbar_color"
android:title="@string/theme_navbar"/>
android:title="@string/theme_navbar"
android:defaultValue="@bool/day_night_default" />
<Preference
android:key="custom_background_image"