Add option to change school from SettingsActivity

This commit is contained in:
Matte23 authored and Matte23 committed 2020-10-24 15:32:47 +02:00
1 parent ddacff0892
commit 109c56d111
9 files changed
+69 -16

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
<string name="preferences_general_header">Generale</string>
<string name="preference_notifications_header">Notifiche</string>
<string name="preferences_school">Scuola</string>
<string name="preferences_dark_theme">Tema scuro</string>
<string name="preferences_notify_new_circulars">Mostra notifiche</string>
<string name="preferences_poll_interval">Intervallo di sincronizzazione</string>
+1
View File
@@ -11,6 +11,7 @@
<string name="preferences_general_header">General</string>
<string name="preference_notifications_header">Notifications</string>
<string name="preferences_school">School</string>
<string name="preferences_dark_theme">Dark theme</string>
<string name="preferences_notify_new_circulars">Show notifications</string>
<string name="preferences_poll_interval">Synchronization interval</string>
@@ -3,6 +3,11 @@
<PreferenceCategory app:title="@string/preferences_general_header">
<ListPreference
app:key="school"
app:title="@string/preferences_school"
app:useSimpleSummaryProvider="true" />
<ListPreference
app:defaultValue="auto"
app:entries="@array/dark_theme_entries"