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

Commit

Permalink
feat(YouTube - Seekbar components): Add Enable Cairo seekbar settin…
Browse files Browse the repository at this point in the history
…g (YouTube 19.23.40+)
  • Loading branch information
anddea committed Jun 23, 2024
1 parent f33e4b6 commit 2e79b43
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 @@ -647,6 +647,10 @@ public static boolean restoreOldSeekbarThumbnails() {
return !Settings.RESTORE_OLD_SEEKBAR_THUMBNAILS.get();
}

public static boolean enableCairoSeekbar() {
return Settings.ENABLE_CAIRO_SEEKBAR.get();
}

// endregion

public static int getQuickActionsTopMargin() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_SEEKBAR_CHAPTERS = new BooleanSetting("revanced_hide_seekbar_chapters", FALSE, true);
public static final BooleanSetting HIDE_TIME_STAMP = new BooleanSetting("revanced_hide_time_stamp", FALSE, true);
public static final BooleanSetting RESTORE_OLD_SEEKBAR_THUMBNAILS = new BooleanSetting("revanced_restore_old_seekbar_thumbnails", TRUE);
public static final BooleanSetting ENABLE_CAIRO_SEEKBAR = new BooleanSetting("revanced_enable_cairo_seekbar", FALSE, true);

// PreferenceScreen: Player - Video description
public static final BooleanSetting DISABLE_ROLLING_NUMBER_ANIMATIONS = new BooleanSetting("revanced_disable_rolling_number_animations", FALSE);
Expand Down

0 comments on commit 2e79b43

Please sign in to comment.