mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-11 20:03:55 +01:00
fix(youtube/theme): use dynamic background color for custom splash screen (#2319)
This commit is contained in:
committed by
GitHub
parent
e74df8bba9
commit
308b1bc0d2
@@ -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.",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user