mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-08 21:07:01 +01:00
fix(youtube/theme): use dynamic background color for custom splash screen (#2319)
This commit is contained in:
parent
a919b943a8
commit
28594f3eea
@ -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.",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user