Skip to content

Commit

Permalink
feat(YouTube/Hide feed components): add Hide UPCOMING video setting
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 25, 2024
1 parent 0752ff0 commit 0b49445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ Limitations:
• Videos with phrases such as 'People also watched' underneath."</string>
<string name="revanced_hide_low_views_video_title">Hide low views video</string>
<string name="revanced_hide_low_views_video_summary">Hide videos with less than 1,000 views from home feeds that have been uploaded from unsubscribed channels.</string>
<string name="revanced_hide_upcoming_video_title">Hide UPCOMING video</string>
<string name="revanced_hide_upcoming_video_summary">"Hide videos with UPCOMING label.

Note: Enabling this also hide Notify me button."</string>

<!-- PreferenceScreen: Feed, PreferenceCategory: Feed, PreferenceScreen: Video filter, PreferenceCategory: View count filter -->
<string name="revanced_preference_category_view_counts_filter">View count filter</string>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<PreferenceCategory android:title="@string/revanced_preference_category_recommended_video" android:layout="@layout/revanced_settings_preferences_category">
<SwitchPreference android:title="@string/revanced_hide_recommended_video_title" android:key="revanced_hide_recommended_video" android:summary="@string/revanced_hide_recommended_video_summary" />
<SwitchPreference android:title="@string/revanced_hide_low_views_video_title" android:key="revanced_hide_low_views_video" android:summary="@string/revanced_hide_low_views_video_summary" />
<SwitchPreference android:title="@string/revanced_hide_upcoming_video_title" android:key="revanced_hide_upcoming_video" android:summary="@string/revanced_hide_upcoming_video_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/revanced_preference_category_view_counts_filter" android:layout="@layout/revanced_settings_preferences_category">
<SwitchPreference android:title="@string/revanced_hide_video_by_view_counts_home_title" android:key="revanced_hide_video_by_view_counts_home" android:summaryOn="@string/revanced_hide_video_by_view_counts_home_summary_on" android:summaryOff="@string/revanced_hide_video_by_view_counts_home_summary_off" />
Expand Down

0 comments on commit 0b49445

Please sign in to comment.