Commit f61b0c0e authored by michael lundquist's avatar michael lundquist
Browse files

Adding A toggle for the dark theme.

parent 594aea9f
Pipeline #2933 passed with stages
in 3 minutes and 37 seconds
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<string name="title_turn_off_rotation">Turn off rotation</string> <string name="title_turn_off_rotation">Turn off rotation</string>
<string name="title_notification">Notifications</string> <string name="title_notification">Notifications</string>
<string name="title_turn_off_vibrations">Turn off vibrations</string> <string name="title_turn_off_vibrations">Turn off vibrations</string>
<string name="title_dark_theme">Dark theme</string>
<string-array name="entries_list_view_information_preference"> <string-array name="entries_list_view_information_preference">
<item>Both</item> <item>Both</item>
<item>Only for open Facilities</item> <item>Only for open Facilities</item>
......
...@@ -17,6 +17,12 @@ ...@@ -17,6 +17,12 @@
android:entries="@array/entries_list_view_default_tab_preference" android:entries="@array/entries_list_view_default_tab_preference"
android:entryValues="@array/entryvalues_list_view_default_tab_preference" /> android:entryValues="@array/entryvalues_list_view_default_tab_preference" />
<SwitchPreference
android:defaultValue="true"
android:key="dark_theme"
android:title="@string/title_dark_theme"
android:entries="@array/entries_list_view_default_tab_preference"
android:entryValues="@array/entryvalues_list_view_default_tab_preference" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment