From 436a84ee0785e5b0bed1b9a4a02b5be86eff4a4a Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 23 Apr 2023 06:22:22 +0200 Subject: [PATCH] feat(youtube): remove non working patch `hide-my-mix` --- .../patches/HideMixPlaylistsPatch.java | 14 -------------- .../integrations/settings/SettingsEnum.java | 1 - 2 files changed, 15 deletions(-) delete mode 100644 app/src/main/java/app/revanced/integrations/patches/HideMixPlaylistsPatch.java diff --git a/app/src/main/java/app/revanced/integrations/patches/HideMixPlaylistsPatch.java b/app/src/main/java/app/revanced/integrations/patches/HideMixPlaylistsPatch.java deleted file mode 100644 index 6148dbee..00000000 --- a/app/src/main/java/app/revanced/integrations/patches/HideMixPlaylistsPatch.java +++ /dev/null @@ -1,14 +0,0 @@ -package app.revanced.integrations.patches; - -import android.view.View; - -import app.revanced.integrations.adremover.AdRemoverAPI; -import app.revanced.integrations.settings.SettingsEnum; - -public class HideMixPlaylistsPatch { - - public static void hideMixPlaylists(View view) { - if (!SettingsEnum.HIDE_MIX_PLAYLISTS.getBoolean()) return; - AdRemoverAPI.HideViewWithLayout1dp(view); - } -} diff --git a/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java b/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java index fbca2b24..bd4f5a3d 100644 --- a/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java +++ b/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java @@ -93,7 +93,6 @@ public enum SettingsEnum { HIDE_FLOATING_MICROPHONE_BUTTON("revanced_hide_floating_microphone_button", BOOLEAN, TRUE, true), HIDE_FULLSCREEN_PANELS("revanced_hide_fullscreen_panels", BOOLEAN, TRUE), HIDE_INFO_CARDS("revanced_hide_infocards", BOOLEAN, TRUE), - HIDE_MIX_PLAYLISTS("revanced_hide_mix_playlists", BOOLEAN, FALSE, true), HIDE_PLAYER_BUTTONS("revanced_hide_player_buttons", BOOLEAN, FALSE), HIDE_PREVIEW_COMMENT("revanced_hide_preview_comment", BOOLEAN, FALSE, true), HIDE_SEEKBAR("revanced_hide_seekbar", BOOLEAN, FALSE),