Skip to content

Commit

Permalink
feat(YTM): Add Hide Tap to Update Button
Browse files Browse the repository at this point in the history
  • Loading branch information
YT-Advanced committed Feb 7, 2024
1 parent f45c888 commit 46e54a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),


Expand Down

0 comments on commit 46e54a6

Please sign in to comment.