Skip to content

Commit 6587ba7

Browse files
committed
feat(YouTube/Hide feed components): add Hide expandable shelves setting
1 parent 8db7d0e commit 6587ba7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/resources/youtube/settings/host/values/strings.xml

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ Tap here to learn more about DeArrow."</string>
119119
<string name="revanced_hide_expandable_chip_title">Hide expandable chip under videos</string>
120120
<string name="revanced_hide_expandable_chip_summary_on">Expandable chips are hidden.</string>
121121
<string name="revanced_hide_expandable_chip_summary_off">Expandable chips are shown.</string>
122+
<string name="revanced_hide_expandable_shelf_title">Hide expandable shelves</string>
123+
<string name="revanced_hide_expandable_shelf_summary_on">Expandable shelves are hidden.</string>
124+
<string name="revanced_hide_expandable_shelf_summary_off">Expandable shelves are shown.</string>
122125
<string name="revanced_hide_feed_captions_button_title">Hide feed captions button</string>
123126
<string name="revanced_hide_feed_captions_button_on">Captions button is hidden.</string>
124127
<string name="revanced_hide_feed_captions_button_off">Captions button is shown.</string>

src/main/resources/youtube/settings/xml/revanced_prefs.xml

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
<SwitchPreference android:title="@string/revanced_hide_carousel_shelf_title" android:key="revanced_hide_carousel_shelf" android:summary="@string/revanced_hide_carousel_shelf_summary" />
102102
<SwitchPreference android:title="@string/revanced_hide_chips_shelf_title" android:key="revanced_hide_chips_shelf" android:summaryOn="@string/revanced_hide_chips_shelf_on" android:summaryOff="@string/revanced_hide_chips_shelf_off" />
103103
<SwitchPreference android:title="@string/revanced_hide_expandable_chip_title" android:key="revanced_hide_expandable_chip" android:summaryOn="@string/revanced_hide_expandable_chip_summary_on" android:summaryOff="@string/revanced_hide_expandable_chip_summary_off" />
104+
<SwitchPreference android:title="@string/revanced_hide_expandable_shelf_title" android:key="revanced_hide_expandable_shelf" android:summaryOn="@string/revanced_hide_expandable_shelf_summary_on" android:summaryOff="@string/revanced_hide_expandable_shelf_summary_off" />
104105
<SwitchPreference android:title="@string/revanced_hide_feed_captions_button_title" android:key="revanced_hide_feed_captions_button" android:summaryOn="@string/revanced_hide_feed_captions_button_on" android:summaryOff="@string/revanced_hide_feed_captions_button_off" />
105106
<SwitchPreference android:title="@string/revanced_hide_feed_survey_title" android:key="revanced_hide_feed_survey" android:summaryOn="@string/revanced_hide_feed_survey_summary_on" android:summaryOff="@string/revanced_hide_feed_survey_summary_off" />
106107
<SwitchPreference android:title="@string/revanced_hide_feed_search_bar_title" android:key="revanced_hide_feed_search_bar" android:summaryOn="@string/revanced_hide_feed_search_bar_summary_on" android:summaryOff="@string/revanced_hide_feed_search_bar_summary_off" />

0 commit comments

Comments
 (0)