diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconRedPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconAfnRedPatch.kt similarity index 87% rename from src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconRedPatch.kt rename to src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconAfnRedPatch.kt index 7521a4818..adb6a08ff 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconRedPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconAfnRedPatch.kt @@ -16,15 +16,15 @@ import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon @Patch @Name("custom-branding-icon-afn-red") -@Description("Changes the YouTube launcher icon (Afn / Red).") +@Description("Changes the YouTube launcher icon to Afn Red.") @DependsOn([SettingsPatch::class]) @YouTubeCompatibility @Version("0.0.1") class CustomBrandingIconRedPatch : ResourcePatch { override fun execute(context: ResourceContext): PatchResult { - context.customIcon("red") - context.updatePatchStatusIcon("red") + context.customIcon("afn-red") + context.updatePatchStatusIcon("afn_red") return PatchResultSuccess() } diff --git a/src/main/resources/youtube/branding/red/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/hdpi/ic_launcher.png b/src/main/resources/youtube/branding/afn-red/launchericon/hdpi/ic_launcher.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/hdpi/ic_launcher.png rename to src/main/resources/youtube/branding/afn-red/launchericon/hdpi/ic_launcher.png diff --git a/src/main/resources/youtube/branding/red/launchericon/hdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/afn-red/launchericon/hdpi/ic_launcher_round.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/hdpi/ic_launcher_round.png rename to src/main/resources/youtube/branding/afn-red/launchericon/hdpi/ic_launcher_round.png diff --git a/src/main/resources/youtube/branding/red/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/mdpi/ic_launcher.png b/src/main/resources/youtube/branding/afn-red/launchericon/mdpi/ic_launcher.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/mdpi/ic_launcher.png rename to src/main/resources/youtube/branding/afn-red/launchericon/mdpi/ic_launcher.png diff --git a/src/main/resources/youtube/branding/red/launchericon/mdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/afn-red/launchericon/mdpi/ic_launcher_round.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/mdpi/ic_launcher_round.png rename to src/main/resources/youtube/branding/afn-red/launchericon/mdpi/ic_launcher_round.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xhdpi/ic_launcher.png b/src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/ic_launcher.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xhdpi/ic_launcher.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/ic_launcher.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xhdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/ic_launcher_round.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xhdpi/ic_launcher_round.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xhdpi/ic_launcher_round.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxhdpi/ic_launcher.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/ic_launcher.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxhdpi/ic_launcher.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/ic_launcher.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxhdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/ic_launcher_round.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxhdpi/ic_launcher_round.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxhdpi/ic_launcher_round.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxxhdpi/ic_launcher.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/ic_launcher.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxxhdpi/ic_launcher.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/ic_launcher.png diff --git a/src/main/resources/youtube/branding/red/launchericon/xxxhdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/ic_launcher_round.png similarity index 100% rename from src/main/resources/youtube/branding/red/launchericon/xxxhdpi/ic_launcher_round.png rename to src/main/resources/youtube/branding/afn-red/launchericon/xxxhdpi/ic_launcher_round.png diff --git a/src/main/resources/youtube/branding/red/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml b/src/main/resources/youtube/branding/afn-red/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml similarity index 100% rename from src/main/resources/youtube/branding/red/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml rename to src/main/resources/youtube/branding/afn-red/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml diff --git a/src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_144.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_144.png rename to src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_144.png diff --git a/src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_192.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_192.png rename to src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_192.png diff --git a/src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_24.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_24.png rename to src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_24.png diff --git a/src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_36.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/hdpi/product_logo_youtube_color_36.png rename to src/main/resources/youtube/branding/afn-red/splashicon/hdpi/product_logo_youtube_color_36.png diff --git a/src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_144.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_144.png rename to src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_144.png diff --git a/src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_192.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_192.png rename to src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_192.png diff --git a/src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_24.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_24.png rename to src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_24.png diff --git a/src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_36.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/mdpi/product_logo_youtube_color_36.png rename to src/main/resources/youtube/branding/afn-red/splashicon/mdpi/product_logo_youtube_color_36.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_144.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_144.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_144.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_192.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_192.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_192.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_24.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_24.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_24.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_36.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xhdpi/product_logo_youtube_color_36.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xhdpi/product_logo_youtube_color_36.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_144.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_144.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_144.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_192.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_192.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_192.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_24.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_24.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_24.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_36.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxhdpi/product_logo_youtube_color_36.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxhdpi/product_logo_youtube_color_36.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_144.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_144.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_144.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_192.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_192.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_192.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_24.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_24.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_24.png diff --git a/src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_36.png similarity index 100% rename from src/main/resources/youtube/branding/red/splashicon/xxxhdpi/product_logo_youtube_color_36.png rename to src/main/resources/youtube/branding/afn-red/splashicon/xxxhdpi/product_logo_youtube_color_36.png diff --git a/src/main/resources/youtube/settings/values-v21/strings.xml b/src/main/resources/youtube/settings/values-v21/strings.xml index d67d85860..e16dea589 100644 --- a/src/main/resources/youtube/settings/values-v21/strings.xml +++ b/src/main/resources/youtube/settings/values-v21/strings.xml @@ -47,12 +47,9 @@ @string/revanced_hide_shorts_player_subscriptions_button_summary_on @string/revanced_hide_shorts_player_subscriptions_button_title - @string/camera_speed_button_label - - afn / blue + afn / red stock custom - afn / red mmt revancify stock