mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-25 12:15:49 +01:00
feat(YouTube - Hide layout components): Hide "Join" button
This commit is contained in:
parent
b87d806659
commit
e2254681cd
@ -157,6 +157,11 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
"set_reminder_button"
|
"set_reminder_button"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
final var joinMembership = new StringFilterGroup(
|
||||||
|
SettingsEnum.HIDE_JOIN_MEMBERSHIP_BUTTON,
|
||||||
|
"compact_sponsor_button"
|
||||||
|
);
|
||||||
|
|
||||||
final var chipsShelf = new StringFilterGroup(
|
final var chipsShelf = new StringFilterGroup(
|
||||||
SettingsEnum.HIDE_CHIPS_SHELF,
|
SettingsEnum.HIDE_CHIPS_SHELF,
|
||||||
"chips_shelf"
|
"chips_shelf"
|
||||||
@ -174,6 +179,7 @@ public final class LayoutComponentsFilter extends Filter {
|
|||||||
relatedVideos,
|
relatedVideos,
|
||||||
compactBanner,
|
compactBanner,
|
||||||
inFeedSurvey,
|
inFeedSurvey,
|
||||||
|
joinMembership,
|
||||||
medicalPanel,
|
medicalPanel,
|
||||||
notifyMe,
|
notifyMe,
|
||||||
infoPanel,
|
infoPanel,
|
||||||
|
@ -67,7 +67,7 @@ public enum SettingsEnum {
|
|||||||
HIDE_GRAY_SEPARATOR("revanced_hide_gray_separator", BOOLEAN, TRUE),
|
HIDE_GRAY_SEPARATOR("revanced_hide_gray_separator", BOOLEAN, TRUE),
|
||||||
HIDE_TIMED_REACTIONS("revanced_hide_timed_reactions", BOOLEAN, TRUE),
|
HIDE_TIMED_REACTIONS("revanced_hide_timed_reactions", BOOLEAN, TRUE),
|
||||||
HIDE_NOTIFY_ME_BUTTON("revanced_hide_notify_me_button", BOOLEAN, TRUE),
|
HIDE_NOTIFY_ME_BUTTON("revanced_hide_notify_me_button", BOOLEAN, TRUE),
|
||||||
|
HIDE_JOIN_MEMBERSHIP_BUTTON("revanced_hide_join_membership_button", BOOLEAN, TRUE),
|
||||||
HIDE_HIDE_CHANNEL_GUIDELINES("revanced_hide_channel_guidelines", BOOLEAN, TRUE),
|
HIDE_HIDE_CHANNEL_GUIDELINES("revanced_hide_channel_guidelines", BOOLEAN, TRUE),
|
||||||
HIDE_IMAGE_SHELF("revanced_hide_image_shelf", BOOLEAN, TRUE),
|
HIDE_IMAGE_SHELF("revanced_hide_image_shelf", BOOLEAN, TRUE),
|
||||||
HIDE_HIDE_INFO_PANELS("revanced_hide_info_panels", BOOLEAN, TRUE),
|
HIDE_HIDE_INFO_PANELS("revanced_hide_info_panels", BOOLEAN, TRUE),
|
||||||
|
Loading…
Reference in New Issue
Block a user