diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/amoled/annotations/AmoledCompatibility.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/amoled/annotations/AmoledCompatibility.kt deleted file mode 100644 index 50f383f46..000000000 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/amoled/annotations/AmoledCompatibility.kt +++ /dev/null @@ -1,9 +0,0 @@ -package app.revanced.patches.youtube.layout.amoled.annotations - -import app.revanced.patcher.annotation.Compatibility -import app.revanced.patcher.annotation.Package - -@Compatibility([Package("com.google.android.youtube")]) -@Target(AnnotationTarget.CLASS) -@Retention(AnnotationRetention.RUNTIME) -internal annotation class AmoledCompatibility diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/amoled/patch/AmoledPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/amoled/patch/AmoledPatch.kt deleted file mode 100644 index 1e66caf7b..000000000 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/amoled/patch/AmoledPatch.kt +++ /dev/null @@ -1,28 +0,0 @@ -package app.revanced.patches.youtube.layout.amoled.patch - -import app.revanced.patcher.annotation.Description -import app.revanced.patcher.annotation.Name -import app.revanced.patcher.annotation.PatchDeprecated -import app.revanced.patcher.annotation.Version -import app.revanced.patcher.data.impl.ResourceData -import app.revanced.patcher.patch.PatchResult -import app.revanced.patcher.patch.annotations.DependsOn -import app.revanced.patcher.patch.annotations.Patch -import app.revanced.patcher.patch.impl.ResourcePatch -import app.revanced.patches.youtube.layout.amoled.annotations.AmoledCompatibility -import app.revanced.patches.youtube.layout.theme.patch.ThemePatch -import app.revanced.patches.youtube.misc.manifest.patch.FixLocaleConfigErrorPatch - -@Patch -@DependsOn([FixLocaleConfigErrorPatch::class]) -@Name("amoled") -@Description("Enables pure black theme.") -@AmoledCompatibility -@Version("0.0.1") -@PatchDeprecated("Theme patch already includes the Amoled theme.", ThemePatch::class) -class AmoledPatch : ResourcePatch() { - override fun execute(data: ResourceData): PatchResult { - ThemePatch.theme = ThemePatch.Themes.Amoled.name - return ThemePatch().execute(data) - } -}