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 +}