Add summary to reset preference

This commit is contained in:
TobiGr 2023-09-17 17:35:52 +02:00
parent ff1aca272e
commit df2e0be08d
2 changed files with 5 additions and 3 deletions

View File

@ -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>
@ -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>

View File

@ -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>