Skip to content

Commit

Permalink
chore: Update settings
Browse files Browse the repository at this point in the history
- Add more information for "Hide Shorts in home feed"
- Remove "Hide suggestions shelf" from Experimental settings
- Remove restart app dialog for "Hide suggestions shelf"
  • Loading branch information
anddea committed Apr 16, 2024
1 parent 12c1f83 commit 67f3591
Show file tree
Hide file tree
Showing 24 changed files with 72 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@ Some components may not be hidden."</string>
<string name="revanced_hide_shorts_player_video_link_label_title">Hide video link label</string>
<string name="revanced_hide_shorts_shelf_summary">Hides Shorts shelves.\n\nKnown issue: Official headers in search results will be hidden.</string>
<string name="revanced_hide_shorts_shelf_title">Hide Shorts shelf</string>
<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.</string>
<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_title">Hide Shorts in home feed</string>
<string name="revanced_hide_shorts_shelf_search_summary_off">Shorts in search results are shown.</string>
<string name="revanced_hide_shorts_shelf_search_summary_on">Shorts in search results are hidden.</string>
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@
<SwitchPreference android:title="@string/revanced_hide_ticket_shelf_title" android:key="revanced_hide_ticket_shelf" android:defaultValue="true" android:summaryOn="@string/revanced_hide_ticket_shelf_summary_on" android:summaryOff="@string/revanced_hide_ticket_shelf_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_timed_reactions_title" android:key="revanced_hide_timed_reactions" android:defaultValue="false" android:summaryOn="@string/revanced_hide_timed_reactions_summary_on" android:summaryOff="@string/revanced_hide_timed_reactions_summary_off" /> SETTINGS: HIDE_LAYOUT_COMPONENTS -->

<!-- SETTINGS: GENERAL_EXPERIMENTAL_FLAGS
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_experimental_flag" /> SETTINGS: GENERAL_EXPERIMENTAL_FLAGS -->

<!-- SETTINGS: HIDE_SUGGESTIONS_SHELF
<SwitchPreference android:title="@string/revanced_hide_suggestions_shelf_title" android:key="revanced_hide_suggestions_shelf" android:defaultValue="true" android:summary="@string/revanced_hide_suggestions_shelf_summary" /> SETTINGS: HIDE_SUGGESTIONS_SHELF -->

<!-- SETTINGS: GENERAL_EXPERIMENTAL_FLAGS
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_experimental_flag" /> SETTINGS: GENERAL_EXPERIMENTAL_FLAGS -->

<!-- SETTINGS: HIDE_LAYOUT_COMPONENTS
<SwitchPreference android:title="@string/revanced_hide_home_feed_membership_video_title" android:key="revanced_hide_home_feed_membership_video" android:defaultValue="false" android:summary="@string/revanced_hide_home_feed_membership_video_summary" />
<SwitchPreference android:title="@string/revanced_hide_video_with_gray_description_title" android:key="revanced_hide_video_with_gray_description" android:defaultValue="false" android:summary="@string/revanced_hide_video_with_gray_description_summary" />
Expand Down Expand Up @@ -660,7 +660,7 @@
<Preference android:title=" " android:selectable="false" android:summary="@string/pref_about_category" />
<PreferenceScreen android:title="@string/revanced_patches_information" android:summary="@string/revanced_patches_information_summary" >
<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_tool_used" />
<Preference android:title="ReVanced Patches" android:selectable="false" android:summary="2.224.0-dev.4" />
<Preference android:title="ReVanced Patches" android:selectable="false" android:summary="2.224.0-dev.5" />
<Preference android:title="ReVanced Integrations" android:selectable="false" android:summary="" />

<Preference android:title=" " android:selectable="false" android:summary="@string/revanced_ads" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Tap and hold to reset playback speed to 1.0x. Tap and hold again to reset back t
<string name="revanced_hide_keyword_content_feed_title">Enable keyword filter</string>

<string name="revanced_overlay_button_speed_dialog_reset">Playback speed reset: %sx</string>

<string name="revanced_hide_shorts_shelf_home_summary_off">Shorts in home feed are shown.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>
<string name="revanced_hide_shorts_shelf_home_summary_on">Shorts in home feed are hidden.\n\nThis will also hide:\n• Shorts shelf in related videos under video player\n• Shorts section in description</string>

0 comments on commit 67f3591

Please sign in to comment.