fix(youtube/theme): use dynamic background color for custom splash screen (#2319)

This commit is contained in:
LisoUseInAIKyrios 2023-05-30 15:41:13 +04:00 committed by GitHub
parent a919b943a8
commit 28594f3eea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ class ThemeBytecodePatch : BytecodePatch() {
var splashScreenBackgroundColor: String? by option( var splashScreenBackgroundColor: String? by option(
PatchOption.StringOption( PatchOption.StringOption(
key = "splashScreenBackgroundColor", key = "splashScreenBackgroundColor",
default = "@android:color/black", default = "?android:attr/colorBackground",
title = "Background color for the splash screen", title = "Background color for the splash screen",
description = "The background color of the splash screen. Can be a hex color or a resource reference.", description = "The background color of the splash screen. Can be a hex color or a resource reference.",
) )