Skip to content

Commit

Permalink
feat(YouTube/Shorts components): add Hide stickers setting
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 30, 2024
1 parent 3827424 commit 7944107
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1125,15 +1125,18 @@ Side effect: Official headers in search results will be hidden."</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>
<string name="revanced_hide_shorts_paid_promotion_label_title">Hide paid promotion label</string>
<string name="revanced_hide_shorts_paid_promotion_label_summary_on">Paid promotion label is hidden.</string>
<string name="revanced_hide_shorts_paid_promotion_label_summary_off">Paid promotion label is shown.</string>
<string name="revanced_hide_shorts_trends_button_title">Hide Trends button</string>
<string name="revanced_hide_shorts_trends_button_summary_on">Trends button is hidden.</string>
<string name="revanced_hide_shorts_trends_button_summary_off">Trends button is shown.</string>
<string name="revanced_hide_shorts_shopping_button_title">Hide Shopping button</string>
<string name="revanced_hide_shorts_shopping_button_summary_on">Shopping button is hidden.</string>
<string name="revanced_hide_shorts_shopping_button_summary_off">Shopping button is shown.</string>
<string name="revanced_hide_shorts_stickers_title">Hide stickers</string>
<string name="revanced_hide_shorts_stickers_summary_on">Stickers are hidden.</string>
<string name="revanced_hide_shorts_stickers_summary_off">Stickers are shown.</string>
<string name="revanced_hide_shorts_paid_promotion_label_title">Hide paid promotion label</string>
<string name="revanced_hide_shorts_paid_promotion_label_summary_on">Paid promotion label is hidden.</string>
<string name="revanced_hide_shorts_paid_promotion_label_summary_off">Paid promotion label is shown.</string>
<string name="revanced_hide_shorts_info_panel_title">Hide info panels</string>
<string name="revanced_hide_shorts_info_panel_summary_on">Info panels are hidden.</string>
<string name="revanced_hide_shorts_info_panel_summary_off">Info panels are shown.</string>
Expand All @@ -1159,9 +1162,9 @@ Side effect: Official headers in search results will be hidden."</string>
<string name="revanced_hide_shorts_green_screen_button_title">Hide Green screen button</string>
<string name="revanced_hide_shorts_green_screen_button_summary_on">Green screen button is hidden.</string>
<string name="revanced_hide_shorts_green_screen_button_summary_off">Green screen button is shown.</string>
<string name="revanced_hide_shorts_save_sound_button_title">Hide Save sound button</string>
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save sound button is hidden.</string>
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save sound button is shown.</string>
<string name="revanced_hide_shorts_save_music_button_title">Hide Save music button</string>
<string name="revanced_hide_shorts_save_music_button_summary_on">Save music button is hidden.</string>
<string name="revanced_hide_shorts_save_music_button_summary_off">Save music button is shown.</string>
<string name="revanced_hide_shorts_shop_button_title">Hide Shop button</string>
<string name="revanced_hide_shorts_shop_button_summary_on">Shop button is hidden.</string>
<string name="revanced_hide_shorts_shop_button_summary_off">Shop button is shown.</string>
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,10 @@
<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_trends_button_title" android:key="revanced_hide_shorts_trends_button" android:summaryOn="@string/revanced_hide_shorts_trends_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_trends_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_shopping_button_title" android:key="revanced_hide_shorts_shopping_button" android:summaryOn="@string/revanced_hide_shorts_shopping_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_shopping_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_stickers_title" android:key="revanced_hide_shorts_stickers" android:summaryOn="@string/revanced_hide_shorts_stickers_summary_on" android:summaryOff="@string/revanced_hide_shorts_stickers_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_info_panel_title" android:key="revanced_hide_shorts_info_panel" android:summaryOn="@string/revanced_hide_shorts_info_panel_summary_on" android:summaryOff="@string/revanced_hide_shorts_info_panel_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_live_header_title" android:key="revanced_hide_shorts_live_header" android:summaryOn="@string/revanced_hide_shorts_live_header_summary_on" android:summaryOff="@string/revanced_hide_shorts_live_header_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_channel_bar_title" android:key="revanced_hide_shorts_channel_bar" android:summaryOn="@string/revanced_hide_shorts_channel_bar_summary_on" android:summaryOff="@string/revanced_hide_shorts_channel_bar_summary_off" />
Expand All @@ -511,7 +512,7 @@
<PreferenceCategory android:title="@string/revanced_preference_category_suggested_actions" android:layout="@layout/revanced_settings_preferences_category"/>
<SwitchPreference android:title="@string/revanced_hide_shorts_green_screen_button_title" android:key="revanced_hide_shorts_green_screen_button" android:summaryOn="@string/revanced_hide_shorts_green_screen_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_green_screen_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_save_sound_button_title" android:key="revanced_hide_shorts_save_sound_button" android:summaryOn="@string/revanced_hide_shorts_save_sound_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_save_sound_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_save_music_button_title" android:key="revanced_hide_shorts_save_music_button" android:summaryOn="@string/revanced_hide_shorts_save_music_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_save_music_button_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" />
<SwitchPreference android:title="@string/revanced_hide_shorts_super_thanks_button_title" android:key="revanced_hide_shorts_super_thanks_button" android:summaryOn="@string/revanced_hide_shorts_super_thanks_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_super_thanks_button_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_shorts_use_this_sound_button_title" android:key="revanced_hide_shorts_use_this_sound_button" android:summaryOn="@string/revanced_hide_shorts_use_this_sound_button_summary_on" android:summaryOff="@string/revanced_hide_shorts_use_this_sound_button_summary_off" />
Expand Down

0 comments on commit 7944107

Please sign in to comment.