Skip to content

Commit

Permalink
feat(YouTube/Hide feed components): remove Duration filter setting …
Browse files Browse the repository at this point in the history
…as it no longer works due to server side changes inotia00/ReVanced_Extended#2389
  • Loading branch information
inotia00 committed Sep 15, 2024
1 parent a041ca2 commit aa78830
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
9 changes: 0 additions & 9 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,6 @@ Limitations:
<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>

<!-- PreferenceScreen: Feed, PreferenceCategory: Feed, PreferenceScreen: Video filter, PreferenceCategory: Duration filter -->
<string name="revanced_preference_category_duration_filter">Duration filter</string>
<string name="revanced_hide_video_by_duration_title">Hide videos based on duration</string>
<string name="revanced_hide_video_by_duration_summary">Hide videos with shorter than or longer than duration.\n\nKnown issue: It will not hide videos in the player related videos, instead it will hide the timestamp.</string>
<string name="revanced_hide_video_by_duration_longer_than_title">Longer than duration</string>
<string name="revanced_hide_video_by_duration_longer_than_summary">Videos with durations longer than this number will be hidden.</string>
<string name="revanced_hide_video_by_duration_shorter_than_title">Shorter than duration</string>
<string name="revanced_hide_video_by_duration_shorter_than_summary">Videos with durations shorter than this number will be hidden.</string>

<!-- PreferenceScreen: Feed, PreferenceCategory: Feed, PreferenceScreen: Video filter, PreferenceCategory: View count filter -->
<string name="revanced_preference_category_view_counts_filter">View count filter</string>
<string name="revanced_hide_video_by_view_counts_title">Hide recommended videos by views</string>
Expand Down
5 changes: 0 additions & 5 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@
<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" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/revanced_preference_category_duration_filter" android:layout="@layout/revanced_settings_preferences_category">
<SwitchPreference android:title="@string/revanced_hide_video_by_duration_title" android:key="revanced_hide_video_by_duration" android:summary="@string/revanced_hide_video_by_duration_summary" />
<app.revanced.integrations.shared.settings.preference.ResettableEditTextPreference android:title="@string/revanced_hide_video_by_duration_shorter_than_title" android:key="revanced_hide_video_by_duration_shorter_than" android:summary="@string/revanced_hide_video_by_duration_shorter_than_summary" android:inputType="text" />
<app.revanced.integrations.shared.settings.preference.ResettableEditTextPreference android:title="@string/revanced_hide_video_by_duration_longer_than_title" android:key="revanced_hide_video_by_duration_longer_than" android:summary="@string/revanced_hide_video_by_duration_longer_than_summary" android:inputType="text" />
</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_title" android:key="revanced_hide_video_by_view_counts" android:summary="@string/revanced_hide_video_by_view_counts_summary" />
<app.revanced.integrations.shared.settings.preference.ResettableEditTextPreference android:title="@string/revanced_hide_video_view_counts_less_than_title" android:key="revanced_hide_video_view_counts_less_than" android:summary="@string/revanced_hide_video_view_counts_less_than_summary" android:inputType="number" />
Expand Down

0 comments on commit aa78830

Please sign in to comment.