Skip to content

Commit

Permalink
Add summary to reset preference
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiGr committed Sep 21, 2023
1 parent ff1aca2 commit df2e0be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@
<string name="settings_category_history_title">History and cache</string>
<string name="settings_category_appearance_title">Appearance</string>
<string name="settings_category_debug_title">Debug</string>
<string name="settings_category_reset_title">Reset All Settings</string>
<string name="settings_category_updates_title">Updates</string>
<string name="settings_category_player_notification_title">Player notification</string>
<string name="settings_category_player_notification_summary">Configure current playing stream notification</string>
Expand Down Expand Up @@ -596,8 +595,10 @@
<item quantity="one">Download finished</item>
<item quantity="other">%s downloads finished</item>
</plurals>
<string name="reset_settings_title">Reset settings</string>
<string name="reset_settings_summary">Reset all settings to their default values</string>
<!-- dialog about resetting settings -->
<string name="reset_all_settings">Resetting all settings will discard all of your preferred settings and restarts the app. Are you sure you want to proceed?</string>
<string name="reset_all_settings">Resetting all settings will discard all of your preferred settings and restarts the app.\n\nAre you sure you want to proceed?</string>
<!-- dialog about existing downloads -->
<string name="generate_unique_name">Generate unique name</string>
<string name="overwrite">Overwrite</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/xml/backup_restore_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

<Preference
android:key="@string/reset_settings"
android:title="@string/settings_category_reset_title"
android:title="@string/reset_settings_title"
android:summary="@string/reset_settings_summary"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceScreen>

0 comments on commit df2e0be

Please sign in to comment.