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

feat(YouTube - Hide layout components): Hide "Notify me" button

This commit is contained in:
oSumAtrIX 2023-10-01 05:04:43 +02:00
parent b472aeeed7
commit b87d806659
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 8 additions and 0 deletions

View File

@ -152,6 +152,11 @@ public final class LayoutComponentsFilter extends Filter {
"timed_reaction"
);
final var notifyMe = new StringFilterGroup(
SettingsEnum.HIDE_NOTIFY_ME_BUTTON,
"set_reminder_button"
);
final var chipsShelf = new StringFilterGroup(
SettingsEnum.HIDE_CHIPS_SHELF,
"chips_shelf"
@ -170,6 +175,7 @@ public final class LayoutComponentsFilter extends Filter {
compactBanner,
inFeedSurvey,
medicalPanel,
notifyMe,
infoPanel,
channelGuidelines,
audioTrackButton,

View File

@ -66,6 +66,8 @@ public enum SettingsEnum {
HIDE_FEED_SURVEY("revanced_hide_feed_survey", BOOLEAN, TRUE),
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_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),