1
mirror of https://github.com/revanced/revanced-integrations synced 2024-11-24 20:07:14 +01:00

feat(YouTube - Hide layout components): Hide "Join" button

This commit is contained in:
oSumAtrIX 2023-10-01 05:07:29 +02:00
parent b87d806659
commit e2254681cd
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 7 additions and 1 deletions

View File

@ -157,6 +157,11 @@ public final class LayoutComponentsFilter extends Filter {
"set_reminder_button"
);
final var joinMembership = new StringFilterGroup(
SettingsEnum.HIDE_JOIN_MEMBERSHIP_BUTTON,
"compact_sponsor_button"
);
final var chipsShelf = new StringFilterGroup(
SettingsEnum.HIDE_CHIPS_SHELF,
"chips_shelf"
@ -174,6 +179,7 @@ public final class LayoutComponentsFilter extends Filter {
relatedVideos,
compactBanner,
inFeedSurvey,
joinMembership,
medicalPanel,
notifyMe,
infoPanel,

View File

@ -67,7 +67,7 @@ public enum SettingsEnum {
HIDE_GRAY_SEPARATOR("revanced_hide_gray_separator", BOOLEAN, TRUE),
HIDE_TIMED_REACTIONS("revanced_hide_timed_reactions", 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_IMAGE_SHELF("revanced_hide_image_shelf", BOOLEAN, TRUE),
HIDE_HIDE_INFO_PANELS("revanced_hide_info_panels", BOOLEAN, TRUE),