From 119c416bc5c24f2455bfe70adccd51234b165d25 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 6 Oct 2024 18:55:05 -0400 Subject: [PATCH] fix(YouTube - Hide layout components): Adjust settings text (#713) --- .../youtube/patches/components/LayoutComponentsFilter.java | 4 ++-- .../app/revanced/integrations/youtube/settings/Settings.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/components/LayoutComponentsFilter.java b/app/src/main/java/app/revanced/integrations/youtube/patches/components/LayoutComponentsFilter.java index c2e7b74001..492531be5a 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/components/LayoutComponentsFilter.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/components/LayoutComponentsFilter.java @@ -382,14 +382,14 @@ public static boolean showWatermark() { } - private static final boolean HIDE_YOODLES_ENABLED = Settings.HIDE_YOODLES.get(); + private static final boolean HIDE_DOODLES_ENABLED = Settings.HIDE_DOODLES.get(); /** * Injection point. */ @Nullable public static Drawable hideYoodles(Drawable animatedYoodle) { - if (HIDE_YOODLES_ENABLED) { + if (HIDE_DOODLES_ENABLED) { return null; } diff --git a/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java b/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java index 77c843686b..8e61aa5cd2 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java +++ b/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java @@ -57,7 +57,7 @@ public class Settings extends BaseSettings { public static final BooleanSetting HIDE_ALBUM_CARDS = new BooleanSetting("revanced_hide_album_cards", FALSE, true); public static final BooleanSetting HIDE_ARTIST_CARDS = new BooleanSetting("revanced_hide_artist_cards", FALSE); public static final BooleanSetting HIDE_EXPANDABLE_CHIP = new BooleanSetting("revanced_hide_expandable_chip", TRUE); - public static final BooleanSetting HIDE_YOODLES = new BooleanSetting("revanced_hide_yoodles", FALSE, true, "revanced_hide_yoodles_user_dialog_message"); + public static final BooleanSetting HIDE_DOODLES = new BooleanSetting("revanced_hide_doodles", FALSE, true, "revanced_hide_yoodles_user_dialog_message"); // Alternative thumbnails public static final EnumSetting ALT_THUMBNAIL_HOME = new EnumSetting<>("revanced_alt_thumbnail_home", ThumbnailOption.ORIGINAL);