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

Commit

Permalink
feat(YouTube Music): Rename Enable Cairo splash animation to `Disab…
Browse files Browse the repository at this point in the history
…le Cairo splash animation`
  • Loading branch information
inotia00 authored and anddea committed Sep 9, 2024
1 parent 71c35b2 commit db330d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@SuppressWarnings("unused")
public class CairoSplashAnimationPatch {

public static boolean enableCairoSplashAnimation() {
return Settings.ENABLE_CAIRO_SPLASH_ANIMATION.get();
public static boolean disableCairoSplashAnimation(boolean original) {
return !Settings.DISABLE_CAIRO_SPLASH_ANIMATION.get() && original;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public class Settings extends BaseSettings {

// PreferenceScreen: Miscellaneous
public static final BooleanSetting CHANGE_SHARE_SHEET = new BooleanSetting("revanced_change_share_sheet", FALSE, true);
public static final BooleanSetting ENABLE_CAIRO_SPLASH_ANIMATION = new BooleanSetting("revanced_enable_cairo_splash_animation", FALSE, true);
public static final BooleanSetting DISABLE_CAIRO_SPLASH_ANIMATION = new BooleanSetting("revanced_disable_cairo_splash_animation", FALSE, true);
public static final BooleanSetting ENABLE_OPUS_CODEC = new BooleanSetting("revanced_enable_opus_codec", FALSE, true);
public static final BooleanSetting SETTINGS_IMPORT_EXPORT = new BooleanSetting("revanced_extended_settings_import_export", FALSE, false);

Expand Down

0 comments on commit db330d2

Please sign in to comment.