From 97a406de39769f4e748106cfeb99cd850fe414b5 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Thu, 24 Oct 2024 07:33:54 -0400 Subject: [PATCH] refactor: Use name `Seekbar thumbnails` --- ...kbarThumbnailsPatch.java => SeekbarThumbnailsPatch.java} | 6 +++--- .../revanced/integrations/youtube/settings/Settings.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename app/src/main/java/app/revanced/integrations/youtube/patches/{FullscreenSeekbarThumbnailsPatch.java => SeekbarThumbnailsPatch.java} (53%) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/FullscreenSeekbarThumbnailsPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/SeekbarThumbnailsPatch.java similarity index 53% rename from app/src/main/java/app/revanced/integrations/youtube/patches/FullscreenSeekbarThumbnailsPatch.java rename to app/src/main/java/app/revanced/integrations/youtube/patches/SeekbarThumbnailsPatch.java index 0f27844959..6fe5983afb 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/FullscreenSeekbarThumbnailsPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/SeekbarThumbnailsPatch.java @@ -3,14 +3,14 @@ import app.revanced.integrations.youtube.settings.Settings; @SuppressWarnings("unused") -public class FullscreenSeekbarThumbnailsPatch { +public class SeekbarThumbnailsPatch { - private static final boolean SEEKBAR_FULLSCREEN_HIGH_QUALITY_ENABLED = Settings.SEEKBAR_FULLSCREEN_HIGH_QUALITY.get(); + private static final boolean SEEKBAR_THUMBNAILS_HIGH_QUALITY_ENABLED = Settings.SEEKBAR_THUMBNAILS_HIGH_QUALITY.get(); /** * Injection point. */ public static boolean useHighQualityFullscreenThumbnails() { - return SEEKBAR_FULLSCREEN_HIGH_QUALITY_ENABLED; + return SEEKBAR_THUMBNAILS_HIGH_QUALITY_ENABLED; } } diff --git a/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java b/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java index d24a853dfc..872a69aa01 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java +++ b/app/src/main/java/app/revanced/integrations/youtube/settings/Settings.java @@ -258,7 +258,7 @@ public class Settings extends BaseSettings { public static final BooleanSetting SEEKBAR_TAPPING = new BooleanSetting("revanced_seekbar_tapping", TRUE); public static final BooleanSetting SLIDE_TO_SEEK = new BooleanSetting("revanced_slide_to_seek", FALSE, true); public static final BooleanSetting RESTORE_OLD_SEEKBAR_THUMBNAILS = new BooleanSetting("revanced_restore_old_seekbar_thumbnails", TRUE); - public static final BooleanSetting SEEKBAR_FULLSCREEN_HIGH_QUALITY = new BooleanSetting("revanced_seekbar_fullscreen_high_quality", FALSE, true); + public static final BooleanSetting SEEKBAR_THUMBNAILS_HIGH_QUALITY = new BooleanSetting("revanced_seekbar_thumbnails_high_quality", FALSE, true); public static final BooleanSetting HIDE_SEEKBAR = new BooleanSetting("revanced_hide_seekbar", FALSE, true); public static final BooleanSetting HIDE_SEEKBAR_THUMBNAIL = new BooleanSetting("revanced_hide_seekbar_thumbnail", FALSE); public static final BooleanSetting SEEKBAR_CUSTOM_COLOR = new BooleanSetting("revanced_seekbar_custom_color", FALSE, true);