From 3fe00409cc2c141a03c5150f204fdd00be3497c6 Mon Sep 17 00:00:00 2001 From: Aaron Veil <70171475+anddea@users.noreply.github.com> Date: Fri, 29 Mar 2024 21:24:16 +0300 Subject: [PATCH] fix(YouTube - Custom branding icon): Remove redundant style --- .../layout/branding/icon/CustomBrandingIconPatch.kt | 1 - .../youtube/branding/mmt/splash/values-v31/style.xml | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 src/main/resources/youtube/branding/mmt/splash/values-v31/style.xml diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconPatch.kt index 37499e446..39d2220b5 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconPatch.kt @@ -167,7 +167,6 @@ object CustomBrandingIconPatch : ResourcePatch() { if (appIconValue == "mmt") { (arrayOf( - ResourceGroup("values-v31", "style.xml"), ResourceGroup("drawable", "avd_anim.xml", *drawableAnimResourceFileNames) ) + drawableDirectories.map { ResourceGroup(it, *drawableIconResourceFileNames) }) .forEach { context.copyResources("$resourcePath/splash", it) } diff --git a/src/main/resources/youtube/branding/mmt/splash/values-v31/style.xml b/src/main/resources/youtube/branding/mmt/splash/values-v31/style.xml deleted file mode 100644 index c7462f74a..000000000 --- a/src/main/resources/youtube/branding/mmt/splash/values-v31/style.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - -