Added reset button but not working as intended.
This commit is contained in:
parent
aec58de01a
commit
a570f70fce
7 changed files with 50 additions and 5 deletions
|
|
@ -222,6 +222,8 @@
|
|||
<string name="prefer_original_audio_key">prefer_original_audio</string>
|
||||
<string name="prefer_descriptive_audio_key">prefer_descriptive_audio</string>
|
||||
<string name="last_resize_mode">last_resize_mode</string>
|
||||
<!-- RESET ONLY -->
|
||||
<string name="reset_pref_screen_key">reset_pref_screen_key</string>
|
||||
|
||||
<!-- DEBUG ONLY -->
|
||||
<string name="debug_pref_screen_key">debug_pref_screen_key</string>
|
||||
|
|
|
|||
|
|
@ -151,6 +151,7 @@
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -53,4 +53,12 @@
|
|||
android:key="@string/debug_pref_screen_key"
|
||||
android:title="@string/settings_category_debug_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
<PreferenceScreen
|
||||
android:fragment="org.schabi.newpipe.settings.ResetSettingsFragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:icon="@drawable/ic_replay"
|
||||
android:key="@string/reset_pref_screen_key"
|
||||
android:title="@string/settings_category_reset_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue