Move settings around

This commit is contained in:
Philipp Heckel 2022-02-16 12:38:01 -05:00
parent d206d7c391
commit 8f1167b54d
3 changed files with 9 additions and 8 deletions

View file

@ -273,7 +273,7 @@
<string name="settings_users_header">Users</string> <string name="settings_users_header">Users</string>
<string name="settings_users_key">ManageUsers</string> <string name="settings_users_key">ManageUsers</string>
<string name="settings_users_title">Manage users</string> <string name="settings_users_title">Manage users</string>
<string name="settings_users_summary">Add or remove users used for protected topics</string> <string name="settings_users_summary">Add/remove users for protected topics</string>
<string name="settings_users_prefs_title">Users</string> <string name="settings_users_prefs_title">Users</string>
<string name="settings_users_prefs_user_not_used">Not used by any topics</string> <string name="settings_users_prefs_user_not_used">Not used by any topics</string>
<string name="settings_users_prefs_user_used_by_one">Used by topic %1$s</string> <string name="settings_users_prefs_user_used_by_one">Used by topic %1$s</string>

View file

@ -32,17 +32,17 @@
app:title="@string/settings_advanced_default_base_url_title" app:title="@string/settings_advanced_default_base_url_title"
app:dialogLayout="@layout/preference_dialog_edittext_edited" app:dialogLayout="@layout/preference_dialog_edittext_edited"
app:dialogMessage="@string/settings_advanced_default_base_url_message"/> app:dialogMessage="@string/settings_advanced_default_base_url_message"/>
<Preference
app:key="@string/settings_users_key"
app:title="@string/settings_users_title"
app:summary="@string/settings_users_summary"
app:fragment="io.heckel.ntfy.ui.SettingsActivity$UserSettingsFragment"/>
<ListPreference <ListPreference
app:key="@string/settings_appearance_dark_mode_key" app:key="@string/settings_appearance_dark_mode_key"
app:title="@string/settings_appearance_dark_mode_title" app:title="@string/settings_appearance_dark_mode_title"
app:entries="@array/settings_appearance_dark_mode_entries" app:entries="@array/settings_appearance_dark_mode_entries"
app:entryValues="@array/settings_appearance_dark_mode_values" app:entryValues="@array/settings_appearance_dark_mode_values"
app:defaultValue="-1"/> app:defaultValue="-1"/>
<Preference
app:key="@string/settings_users_key"
app:title="@string/settings_users_title"
app:summary="@string/settings_users_summary"
app:fragment="io.heckel.ntfy.ui.SettingsActivity$UserSettingsFragment"/>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory app:title="@string/settings_advanced_header"> <PreferenceCategory app:title="@string/settings_advanced_header">
<SwitchPreference <SwitchPreference

View file

@ -1,6 +1,7 @@
Features: Features:
* Automatically delete notifications (#71, thanks @arjan-s for reporting)
* Share to topic feature (#131, thanks u/emptymatrix for reporting) * Share to topic feature (#131, thanks u/emptymatrix for reporting)
* Ability to pick a default server (#127, thanks to @poblabs for reporting and testing)
* Automatically delete notifications (#71, thanks @arjan-s for reporting)
* Dark theme: Improvements around style and contrast (#119, thanks @kzshantonu for reporting) * Dark theme: Improvements around style and contrast (#119, thanks @kzshantonu for reporting)
Bug fixes: Bug fixes:
@ -8,4 +9,4 @@ Bug fixes:
* Fixed crash in AddFragment as seen per stack trace in Play Console (no ticket) * Fixed crash in AddFragment as seen per stack trace in Play Console (no ticket)
Other thanks: Other thanks:
* Thanks to @rogeliodh for testing * Thanks to @rogeliodh, @cmeis and @poblabs for testing