mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-06 15:39:11 +00:00
Add option to change school from SettingsActivity
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user