feat(YouTube/Shorts components): add Hide paused header setting https://github.com/inotia00/ReVanced_Extended/issues/2213

This commit is contained in:
inotia00
2024-07-14 14:26:04 +09:00
parent b9018ad7eb
commit a7b6757701
4 changed files with 28 additions and 1 deletions

View File

@ -1037,6 +1037,9 @@ Side effect: Official headers in search results will be hidden."</string>
<string name="revanced_hide_shorts_subscribe_button_title">Hide Subscribe button</string>
<string name="revanced_hide_shorts_subscribe_button_summary_on">Subscribe button is hidden.</string>
<string name="revanced_hide_shorts_subscribe_button_summary_off">Subscribe button is shown.</string>
<string name="revanced_hide_shorts_paused_header_title">Hide paused header</string>
<string name="revanced_hide_shorts_paused_header_summary_on">Paused header is hidden.</string>
<string name="revanced_hide_shorts_paused_header_summary_off">Paused header is shown.</string>
<string name="revanced_hide_shorts_paused_overlay_buttons_title">Hide paused overlay buttons</string>
<string name="revanced_hide_shorts_paused_overlay_buttons_summary_on">Paused overlay buttons are hidden.</string>
<string name="revanced_hide_shorts_paused_overlay_buttons_summary_off">Paused overlay buttons are shown.</string>

View File

@ -461,6 +461,7 @@
<PreferenceScreen android:title="@string/revanced_preference_screen_shorts_player_title" android:key="revanced_preference_screen_shorts_player" android:summary="@string/revanced_preference_screen_shorts_player_summary">
<SwitchPreference android:title="@string/revanced_hide_shorts_join_button_title" android:key="revanced_hide_shorts_join_button" android:summaryOn="@string/revanced_hide_shorts_join_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_join_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_subscribe_button_title" android:key="revanced_hide_shorts_subscribe_button" android:summaryOn="@string/revanced_hide_shorts_subscribe_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_subscribe_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_paused_header_title" android:key="revanced_hide_shorts_paused_header" android:summaryOn="@string/revanced_hide_shorts_paused_header_summary_on" android:summaryOff="@string/revanced_hide_shorts_paused_header_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_paused_overlay_buttons_title" android:key="revanced_hide_shorts_paused_overlay_buttons" android:summaryOn="@string/revanced_hide_shorts_paused_overlay_buttons_summary_on" android:summaryOff="@string/revanced_hide_shorts_paused_overlay_buttons_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_paid_promotion_label_title" android:key="revanced_hide_shorts_paid_promotion_label" android:summaryOn="@string/revanced_hide_shorts_paid_promotion_label_summary_on" android:summaryOff="@string/revanced_hide_shorts_paid_promotion_label_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shop_button_title" android:key="revanced_hide_shorts_shop_button" android:summaryOn="@string/revanced_hide_shorts_shop_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_shop_button_summary_off" />