Skip to content

Commit

Permalink
fix(theme): include coloring the playlist action bar (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
OxrxL committed Oct 8, 2022
1 parent 0be90de commit f983d33
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -62,4 +62,4 @@ class ThemePatch : ResourcePatch {
)
)
}
}
}

0 comments on commit f983d33

Please sign in to comment.