From 28594f3eeaf99fa32ee57214ebbc4342529c6694 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Tue, 30 May 2023 15:41:13 +0400 Subject: [PATCH] fix(youtube/theme): use dynamic background color for custom splash screen (#2319) --- .../youtube/layout/theme/bytecode/patch/ThemeBytecodePatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/bytecode/patch/ThemeBytecodePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/bytecode/patch/ThemeBytecodePatch.kt index 1889ed7a8..25c3a3eca 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/bytecode/patch/ThemeBytecodePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/bytecode/patch/ThemeBytecodePatch.kt @@ -49,7 +49,7 @@ class ThemeBytecodePatch : BytecodePatch() { var splashScreenBackgroundColor: String? by option( PatchOption.StringOption( key = "splashScreenBackgroundColor", - default = "@android:color/black", + default = "?android:attr/colorBackground", title = "Background color for the splash screen", description = "The background color of the splash screen. Can be a hex color or a resource reference.", )