Skip to content

Commit

Permalink
chore(YouTube - Hide layout components): Move Hide chips shelf to g…
Browse files Browse the repository at this point in the history
…eneral as it also appears in the feed
  • Loading branch information
LisoUseInAIKyrios committed Sep 29, 2024
1 parent ca0550b commit 7272ad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ object HideLayoutComponentsPatch : BytecodePatch(
SwitchPreference("revanced_hide_channel_guidelines"),
SwitchPreference("revanced_hide_channel_member_shelf"),
SwitchPreference("revanced_hide_channel_watermark"),
SwitchPreference("revanced_hide_chips_shelf"),
SwitchPreference("revanced_hide_community_guidelines"),
PreferenceScreen(
key = "revanced_hide_description_components_screen",
Expand Down Expand Up @@ -145,6 +144,7 @@ object HideLayoutComponentsPatch : BytecodePatch(
)

SettingsPatch.PreferenceScreen.GENERAL_LAYOUT.addPreferences(
SwitchPreference("revanced_hide_chips_shelf"),
SwitchPreference("revanced_hide_expandable_chip"),
SwitchPreference("revanced_hide_gray_separator"),
PreferenceScreen(
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/addresources/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ This is because Crowdin requires temporarily flattening this file and removing t
<string name="revanced_hide_channel_guidelines_title">Hide channel guidelines</string>
<string name="revanced_hide_channel_guidelines_summary_on">Channel guidelines are hidden</string>
<string name="revanced_hide_channel_guidelines_summary_off">Channel guidelines are shown</string>
<string name="revanced_hide_chips_shelf_title">Hide chips shelf</string>
<string name="revanced_hide_chips_shelf_summary_on">Chips shelf is hidden</string>
<string name="revanced_hide_chips_shelf_summary_off">Chips shelf is shown</string>
<string name="revanced_hide_expandable_chip_title">Hide expandable chip under videos</string>
<string name="revanced_hide_expandable_chip_summary_on">Expandable chips are hidden</string>
<string name="revanced_hide_expandable_chip_summary_off">Expandable chips are shown</string>
Expand Down Expand Up @@ -208,9 +211,6 @@ This is because Crowdin requires temporarily flattening this file and removing t
<string name="revanced_hide_artist_cards_title">Hide artist cards</string>
<string name="revanced_hide_artist_cards_summary_on">Artist cards are hidden</string>
<string name="revanced_hide_artist_cards_summary_off">Artist cards are shown</string>
<string name="revanced_hide_chips_shelf_title">Hide chips shelf</string>
<string name="revanced_hide_chips_shelf_summary_on">Chips shelf is hidden</string>
<string name="revanced_hide_chips_shelf_summary_off">Chips shelf is shown</string>
<string name="revanced_hide_attributes_section_title">Hide attributes section</string>
<string name="revanced_hide_attributes_section_summary_on">\'Featured places\', Games and Music sections are hidden</string>
<string name="revanced_hide_attributes_section_summary_off">\'Featured places\', Games and Music sections are shown</string>
Expand Down

0 comments on commit 7272ad9

Please sign in to comment.