mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-05-03 16:14:29 +02:00
feat(youtube/hide-layout-components): separate hiding expandable chips and chapters
This commit is contained in:
parent
4536133bdc
commit
80fb3a31dd
@ -102,9 +102,13 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
"official_card"
|
"official_card"
|
||||||
);
|
);
|
||||||
|
|
||||||
final var chapterTeaser = new StringFilterGroup(
|
final var expandableMetadata = new StringFilterGroup(
|
||||||
SettingsEnum.HIDE_CHAPTER_TEASER,
|
SettingsEnum.HIDE_EXPANDABLE_CHIP,
|
||||||
"expandable_metadata",
|
"expandable_metadata"
|
||||||
|
);
|
||||||
|
|
||||||
|
final var chapters = new StringFilterGroup(
|
||||||
|
SettingsEnum.HIDE_CHAPTERS,
|
||||||
"macro_markers_carousel"
|
"macro_markers_carousel"
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -153,9 +157,10 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
communityPosts,
|
communityPosts,
|
||||||
paidContent,
|
paidContent,
|
||||||
latestPosts,
|
latestPosts,
|
||||||
chapterTeaser,
|
chapters,
|
||||||
communityGuidelines,
|
communityGuidelines,
|
||||||
quickActions,
|
quickActions,
|
||||||
|
expandableMetadata,
|
||||||
relatedVideos,
|
relatedVideos,
|
||||||
compactBanner,
|
compactBanner,
|
||||||
inFeedSurvey,
|
inFeedSurvey,
|
||||||
|
@ -67,7 +67,8 @@ public enum SettingsEnum {
|
|||||||
// Layout
|
// Layout
|
||||||
HIDE_CHANNEL_BAR("revanced_hide_channel_bar", BOOLEAN, FALSE),
|
HIDE_CHANNEL_BAR("revanced_hide_channel_bar", BOOLEAN, FALSE),
|
||||||
HIDE_CHANNEL_MEMBER_SHELF("revanced_hide_channel_member_shelf", BOOLEAN, TRUE),
|
HIDE_CHANNEL_MEMBER_SHELF("revanced_hide_channel_member_shelf", BOOLEAN, TRUE),
|
||||||
HIDE_CHAPTER_TEASER("revanced_hide_chapter_teaser", BOOLEAN, TRUE),
|
HIDE_EXPANDABLE_CHIP("revanced_hide_expandable_chip", BOOLEAN, TRUE),
|
||||||
|
HIDE_CHAPTERS("revanced_hide_chapters", BOOLEAN, TRUE),
|
||||||
HIDE_COMMUNITY_GUIDELINES("revanced_hide_community_guidelines", BOOLEAN, TRUE),
|
HIDE_COMMUNITY_GUIDELINES("revanced_hide_community_guidelines", BOOLEAN, TRUE),
|
||||||
HIDE_COMMUNITY_POSTS("revanced_hide_community_posts", BOOLEAN, FALSE),
|
HIDE_COMMUNITY_POSTS("revanced_hide_community_posts", BOOLEAN, FALSE),
|
||||||
HIDE_COMPACT_BANNER("revanced_hide_compact_banner", BOOLEAN, TRUE),
|
HIDE_COMPACT_BANNER("revanced_hide_compact_banner", BOOLEAN, TRUE),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user