Refactor dark mode to allow multiple themes

This commit is contained in:
Michael Schättgen 2019-03-28 00:54:30 +01:00
parent 9baaf824c6
commit cf4aecbd3e
7 changed files with 64 additions and 17 deletions

View file

@ -7,7 +7,7 @@
<PreferenceCategory
android:title="Appearance"
app:iconSpaceReserved="false">
<androidx.preference.SwitchPreferenceCompat
<Preference
android:defaultValue="false"
android:key="pref_dark_mode"
android:title="@string/pref_dark_mode_title"