From b4057ef846d8c187ef10dcf4939141a85be88984 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Thu, 3 Aug 2023 12:56:40 +0900 Subject: [PATCH] fix(youtube/enable-new-splash-animation): remove android version restriction --- .../misc/splashanimation/patch/NewSplashAnimationPatch.kt | 2 +- src/main/resources/youtube/settings/host/values/strings.xml | 1 - src/main/resources/youtube/settings/xml/revanced_prefs.xml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/patch/NewSplashAnimationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/patch/NewSplashAnimationPatch.kt index 82d13b93c..67bf6518b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/patch/NewSplashAnimationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/patch/NewSplashAnimationPatch.kt @@ -28,7 +28,7 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction @Patch @Name("Enable new splash animation") -@Description("Enables a new type of splash animation on Android 12+ devices.") +@Description("Enables a new type of splash animation.") @DependsOn( [ SettingsPatch::class, diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index baa71d9ad..b49246f78 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -89,7 +89,6 @@ New splash animation is disabled New splash animation is enabled Enable new splash animation - Only available on Android 12+ New thumbnail preview is disabled New thumbnail preview is enabled Enable new thumbnail preview diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index 99bb840bc..bc6a242fe 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -242,7 +242,7 @@ SETTINGS: ENABLE_EXTERNAL_BROWSER --> + SETTINGS: ENABLE_NEW_SPLASH_ANIMATION -->