From 6766ec8f31da6dd71fff0ae4b7044af5ec4a5dfd Mon Sep 17 00:00:00 2001 From: OxrxL <108184954+OxrxL@users.noreply.github.com> Date: Sun, 9 Oct 2022 01:44:50 +0200 Subject: [PATCH] fix(theme): include coloring the playlist action bar (#742) --- .../patches/youtube/layout/theme/patch/ThemePatch.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt index 6fe8e198f..bcb55a100 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt @@ -29,10 +29,10 @@ class ThemePatch : ResourcePatch { val node = resourcesNode.childNodes.item(i) as? Element ?: continue node.textContent = when (node.getAttribute("name")) { - "yt_black1", "yt_black1_opacity95", "yt_black2", "yt_black3", "yt_black4", + "yt_black1", "yt_black1_opacity95", "yt_black1_opacity98", "yt_black2", "yt_black3", "yt_black4", "yt_status_bar_background_dark" -> darkThemeBackgroundColor - "yt_white1", "yt_white1_opacity95", "yt_white2", "yt_white3", + "yt_white1", "yt_white1_opacity95", "yt_white1_opacity98", "yt_white2", "yt_white3", "yt_white4" -> lightThemeBackgroundColor else -> continue @@ -62,4 +62,4 @@ class ThemePatch : ResourcePatch { ) ) } -} \ No newline at end of file +}