diff --git a/app/src/main/java/app/revanced/integrations/music/patches/general/GeneralPatch.java b/app/src/main/java/app/revanced/integrations/music/patches/general/GeneralPatch.java index 5677c0217a..3a5b62dd98 100644 --- a/app/src/main/java/app/revanced/integrations/music/patches/general/GeneralPatch.java +++ b/app/src/main/java/app/revanced/integrations/music/patches/general/GeneralPatch.java @@ -122,6 +122,10 @@ public static boolean hideNewPlaylistButton() { return SettingsEnum.HIDE_NEW_PLAYLIST_BUTTON.getBoolean(); } + public static boolean hideTapToUpdateButton() { + return SettingsEnum.HIDE_TAP_TO_UPDATE_BUTTON.getBoolean(); + } + public static void newVideoStarted(@NonNull String newlyLoadedVideoId) { if (Objects.equals(newlyLoadedVideoId, videoId)) { return; diff --git a/app/src/main/java/app/revanced/integrations/music/settings/SettingsEnum.java b/app/src/main/java/app/revanced/integrations/music/settings/SettingsEnum.java index 6e7fbde9d4..0b84f0fff9 100644 --- a/app/src/main/java/app/revanced/integrations/music/settings/SettingsEnum.java +++ b/app/src/main/java/app/revanced/integrations/music/settings/SettingsEnum.java @@ -107,6 +107,7 @@ public enum SettingsEnum { HIDE_HISTORY_BUTTON("revanced_hide_history_button", BOOLEAN, FALSE), HIDE_NEW_PLAYLIST_BUTTON("revanced_hide_new_playlist_button", BOOLEAN, FALSE), HIDE_PLAYLIST_CARD("revanced_hide_playlist_card", BOOLEAN, FALSE, true), + HIDE_TAP_TO_UPDATE_BUTTON("revanced_hide_tap_to_update_button", BOOLEAN, TRUE), REMOVE_VIEWER_DISCRETION_DIALOG("revanced_remove_viewer_discretion_dialog", BOOLEAN, FALSE),