fix(YouTube - Hide layout components): Adjust settings text (#713)

This commit is contained in:
LisoUseInAIKyrios 2024-10-06 18:55:05 -04:00 committed by GitHub
parent ca064a7d25
commit 119c416bc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -382,14 +382,14 @@ public final class LayoutComponentsFilter extends Filter {
} }
private static final boolean HIDE_YOODLES_ENABLED = Settings.HIDE_YOODLES.get(); private static final boolean HIDE_DOODLES_ENABLED = Settings.HIDE_DOODLES.get();
/** /**
* Injection point. * Injection point.
*/ */
@Nullable @Nullable
public static Drawable hideYoodles(Drawable animatedYoodle) { public static Drawable hideYoodles(Drawable animatedYoodle) {
if (HIDE_YOODLES_ENABLED) { if (HIDE_DOODLES_ENABLED) {
return null; return null;
} }

View File

@ -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_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_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_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 // Alternative thumbnails
public static final EnumSetting<ThumbnailOption> ALT_THUMBNAIL_HOME = new EnumSetting<>("revanced_alt_thumbnail_home", ThumbnailOption.ORIGINAL); public static final EnumSetting<ThumbnailOption> ALT_THUMBNAIL_HOME = new EnumSetting<>("revanced_alt_thumbnail_home", ThumbnailOption.ORIGINAL);