Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
feat(YouTube - Player components): Add Hide zoom overlay setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperssmp authored and anddea committed Jul 29, 2024
1 parent aec368b commit 253c5d2
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 @@ -518,6 +518,10 @@ public static void skipAutoPlayCountdown(View view) {
Utils.clickView(view);
}

public static boolean hideZoomOverlay() {
return Settings.HIDE_ZOOM_OVERLAY.get();
}

// endregion

// region [Hide player flyout menu] patch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_TIMED_REACTIONS = new BooleanSetting("revanced_hide_timed_reactions", TRUE);
public static final BooleanSetting HIDE_SUGGESTED_VIDEO_END_SCREEN = new BooleanSetting("revanced_hide_suggested_video_end_screen", TRUE, true);
public static final BooleanSetting SKIP_AUTOPLAY_COUNTDOWN = new BooleanSetting("revanced_skip_autoplay_countdown", FALSE, true, parent(HIDE_SUGGESTED_VIDEO_END_SCREEN));
public static final BooleanSetting HIDE_ZOOM_OVERLAY = new BooleanSetting("revanced_hide_zoom_overlay", FALSE, true);


// PreferenceScreen: Player - Action buttons
Expand Down

0 comments on commit 253c5d2

Please sign in to comment.