feat(YouTube/Shorts components): move Change Shorts repeat state setting to Experimental Flags

This commit is contained in:
inotia00
2024-08-07 13:39:58 +09:00
parent 8b3a93d3e2
commit 33117ba96e
2 changed files with 11 additions and 8 deletions

View File

@ -1012,11 +1012,6 @@ The Expand video description option may not work if the entered string does not
<!-- PreferenceScreen: Shorts -->
<string name="revanced_preference_screen_shorts_title">Shorts</string>
<string name="revanced_change_shorts_repeat_state_title">Change Shorts repeat state</string>
<string name="revanced_change_shorts_repeat_state_entry_auto_play">Autoplay</string>
<string name="revanced_change_shorts_repeat_state_entry_default">Default</string>
<string name="revanced_change_shorts_repeat_state_entry_pause">Pause</string>
<string name="revanced_change_shorts_repeat_state_entry_repeat">Repeat</string>
<string name="revanced_disable_resuming_shorts_player_title">Disable resuming Shorts player</string>
<string name="revanced_disable_resuming_shorts_player_summary_on">Shorts player will not resume on app startup.</string>
<string name="revanced_disable_resuming_shorts_player_summary_off">Shorts player will resume on app startup.</string>
@ -1041,6 +1036,13 @@ Side effect: Official headers in search results will be hidden."</string>
<string name="revanced_hide_shorts_shelf_history_summary_on">Hidden in watch history.</string>
<string name="revanced_hide_shorts_shelf_history_summary_off">Shown in watch history.</string>
<!-- PreferenceScreen: Shorts, PreferenceCategory: Experimental Flags -->
<string name="revanced_change_shorts_repeat_state_title">Change Shorts repeat state</string>
<string name="revanced_change_shorts_repeat_state_entry_auto_play">Autoplay</string>
<string name="revanced_change_shorts_repeat_state_entry_default">Default</string>
<string name="revanced_change_shorts_repeat_state_entry_pause">Pause</string>
<string name="revanced_change_shorts_repeat_state_entry_repeat">Repeat</string>
<!-- PreferenceScreen: Shorts, PreferenceCategory: Shorts, PreferenceScreen: Shorts player -->
<string name="revanced_preference_screen_shorts_player_title">Shorts player</string>
<string name="revanced_preference_screen_shorts_player_summary">Hide or show components in the Shorts player.</string>

View File

@ -512,8 +512,7 @@
<SwitchPreference android:title="@string/revanced_hide_shorts_toolbar_title" android:key="revanced_hide_shorts_toolbar" android:summaryOn="@string/revanced_hide_shorts_toolbar_summary_on" android:summaryOff="@string/revanced_hide_shorts_toolbar_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_navigation_bar_title" android:key="revanced_hide_shorts_navigation_bar" android:summaryOn="@string/revanced_hide_shorts_navigation_bar_summary_on" android:summaryOff="@string/revanced_hide_shorts_navigation_bar_summary_off" />
<SwitchPreference android:title="@string/revanced_replace_channel_handle_title" android:key="revanced_replace_channel_handle" android:summaryOn="@string/revanced_replace_channel_handle_summary_on" android:summaryOff="@string/revanced_replace_channel_handle_summary_off" />
</PreferenceScreen>
<ListPreference android:entries="@array/revanced_change_shorts_repeat_state_entries" android:title="@string/revanced_change_shorts_repeat_state_title" android:key="revanced_change_shorts_repeat_state" android:entryValues="@array/revanced_change_shorts_repeat_state_entry_values" />SETTINGS: SHORTS_COMPONENTS -->
</PreferenceScreen>SETTINGS: SHORTS_COMPONENTS -->
<!-- SETTINGS: DISABLE_RESUMING_SHORTS_PLAYER
<SwitchPreference android:title="@string/revanced_disable_resuming_shorts_player_title" android:key="revanced_disable_resuming_shorts_player" android:summaryOn="@string/revanced_disable_resuming_shorts_player_summary_on" android:summaryOff="@string/revanced_disable_resuming_shorts_player_summary_off" />SETTINGS: DISABLE_RESUMING_SHORTS_PLAYER -->
@ -524,7 +523,9 @@
<SwitchPreference android:title="@string/revanced_hide_shorts_shelf_home_related_videos_title" android:key="revanced_hide_shorts_shelf_home_related_videos" android:summaryOn="@string/revanced_hide_shorts_shelf_home_related_videos_summary_on" android:summaryOff="@string/revanced_hide_shorts_shelf_home_related_videos_summary_off" android:dependency="revanced_hide_shorts_shelf" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shelf_subscriptions_title" android:key="revanced_hide_shorts_shelf_subscriptions" android:summaryOn="@string/revanced_hide_shorts_shelf_subscriptions_summary_on" android:summaryOff="@string/revanced_hide_shorts_shelf_subscriptions_summary_off" android:dependency="revanced_hide_shorts_shelf" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shelf_search_title" android:key="revanced_hide_shorts_shelf_search" android:summaryOn="@string/revanced_hide_shorts_shelf_search_summary_on" android:summaryOff="@string/revanced_hide_shorts_shelf_search_summary_off" android:dependency="revanced_hide_shorts_shelf" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shelf_history_title" android:key="revanced_hide_shorts_shelf_history" android:summaryOn="@string/revanced_hide_shorts_shelf_history_summary_on" android:summaryOff="@string/revanced_hide_shorts_shelf_history_summary_off" android:dependency="revanced_hide_shorts_shelf" />SETTINGS: SHORTS_COMPONENTS -->
<SwitchPreference android:title="@string/revanced_hide_shorts_shelf_history_title" android:key="revanced_hide_shorts_shelf_history" android:summaryOn="@string/revanced_hide_shorts_shelf_history_summary_on" android:summaryOff="@string/revanced_hide_shorts_shelf_history_summary_off" android:dependency="revanced_hide_shorts_shelf" />
<PreferenceCategory android:title="@string/revanced_preference_category_experimental_flag" android:layout="@layout/revanced_settings_preferences_category"/>
<ListPreference android:entries="@array/revanced_change_shorts_repeat_state_entries" android:title="@string/revanced_change_shorts_repeat_state_title" android:key="revanced_change_shorts_repeat_state" android:entryValues="@array/revanced_change_shorts_repeat_state_entry_values" />SETTINGS: SHORTS_COMPONENTS -->
<!-- PREFERENCE_SCREEN: SHORTS
</PreferenceScreen>PREFERENCE_SCREEN: SHORTS -->