mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-24 11:45:49 +01:00
feat(YouTube - Hide layout components): Hide "For You" shelf in channel page
This commit is contained in:
parent
2a582f9424
commit
2613e102cc
@ -192,6 +192,11 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
"featured_channel_watermark_overlay"
|
"featured_channel_watermark_overlay"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
final var forYouShelf = new StringFilterGroup(
|
||||||
|
SettingsEnum.HIDE_FOR_YOU_SHELF,
|
||||||
|
"mixed_content_shelf"
|
||||||
|
);
|
||||||
|
|
||||||
this.pathFilterGroupList.addAll(
|
this.pathFilterGroupList.addAll(
|
||||||
channelBar,
|
channelBar,
|
||||||
communityPosts,
|
communityPosts,
|
||||||
@ -216,6 +221,7 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
timedReactions,
|
timedReactions,
|
||||||
imageShelf,
|
imageShelf,
|
||||||
channelMemberShelf,
|
channelMemberShelf,
|
||||||
|
forYouShelf,
|
||||||
custom
|
custom
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -114,6 +114,7 @@ public enum SettingsEnum {
|
|||||||
HIDE_TIMESTAMP("revanced_hide_timestamp", BOOLEAN, FALSE),
|
HIDE_TIMESTAMP("revanced_hide_timestamp", BOOLEAN, FALSE),
|
||||||
@Deprecated HIDE_VIDEO_WATERMARK("revanced_hide_video_watermark", BOOLEAN, TRUE),
|
@Deprecated HIDE_VIDEO_WATERMARK("revanced_hide_video_watermark", BOOLEAN, TRUE),
|
||||||
HIDE_VIDEO_CHANNEL_WATERMARK("revanced_hide_channel_watermark", BOOLEAN, TRUE),
|
HIDE_VIDEO_CHANNEL_WATERMARK("revanced_hide_channel_watermark", BOOLEAN, TRUE),
|
||||||
|
HIDE_FOR_YOU_SHELF("revanced_hide_for_you_shelf", BOOLEAN, TRUE),
|
||||||
HIDE_VIDEO_QUALITY_MENU_FOOTER("revanced_hide_video_quality_menu_footer", BOOLEAN, TRUE),
|
HIDE_VIDEO_QUALITY_MENU_FOOTER("revanced_hide_video_quality_menu_footer", BOOLEAN, TRUE),
|
||||||
PLAYER_OVERLAY_OPACITY("revanced_player_overlay_opacity", INTEGER, 100, true),
|
PLAYER_OVERLAY_OPACITY("revanced_player_overlay_opacity", INTEGER, 100, true),
|
||||||
PLAYER_POPUP_PANELS("revanced_hide_player_popup_panels", BOOLEAN, FALSE),
|
PLAYER_POPUP_PANELS("revanced_hide_player_popup_panels", BOOLEAN, FALSE),
|
||||||
|
Loading…
Reference in New Issue
Block a user