Fix night mode default settings in SettingsActivity

This commit is contained in:
uykek 2020-08-30 12:03:36 +02:00
parent e46ed28316
commit c51fbfd579
2 changed files with 4 additions and 4 deletions

View file

@ -34,19 +34,19 @@
android:key="pref_dark_mode_setting" android:key="pref_dark_mode_setting"
android:title="@string/pref_dark_mode" android:title="@string/pref_dark_mode"
android:summary="@string/pref_dark_mode_summary" android:summary="@string/pref_dark_mode_summary"
android:defaultValue="true"/> android:defaultValue="false"/>
<SwitchPreference android:id="@+id/pref_dark_theme_automatically_by_system" <SwitchPreference android:id="@+id/pref_dark_theme_automatically_by_system"
android:key="pref_dark_mode_automatically_by_system" android:key="pref_dark_mode_automatically_by_system"
android:title="@string/pref_dark_mode_automatically_by_system" android:title="@string/pref_dark_mode_automatically_by_system"
android:summary="Dark theme is adapted to settings of the OS" android:summary="Dark theme is adapted to settings of the OS"
android:defaultValue="true"/> android:defaultValue="false"/>
<SwitchPreference android:id="@+id/pref_dark_theme_automatically_by_battery" <SwitchPreference android:id="@+id/pref_dark_theme_automatically_by_battery"
android:key="pref_dark_mode_automatically_by_battery" android:key="pref_dark_mode_automatically_by_battery"
android:title="@string/pref_dark_mode_automatically_by_battery" android:title="@string/pref_dark_mode_automatically_by_battery"
android:summary="adjusts Dark theme automatically according to battery status " android:summary="adjusts Dark theme automatically according to battery status "
android:defaultValue="true"/> android:defaultValue="false"/>
</PreferenceCategory> </PreferenceCategory>

View file

@ -34,7 +34,7 @@
android:key="pref_dark_mode_setting" android:key="pref_dark_mode_setting"
android:title="@string/pref_dark_mode" android:title="@string/pref_dark_mode"
android:summary="@string/pref_dark_mode_summary" android:summary="@string/pref_dark_mode_summary"
android:defaultValue="true"/> android:defaultValue="false"/>
</PreferenceCategory> </PreferenceCategory>