Skip to content

Commit

Permalink
fix: cleanup & trigger release for ThemePatch
Browse files Browse the repository at this point in the history
Closes #447
Closes ReVanced/revanced-patcher#99
  • Loading branch information
Sculas committed Sep 8, 2022
1 parent 803a599 commit 8d25b21
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ class ThemePatch : ResourcePatch() {
enum class Themes(val apply: (String) -> String?) {
Amoled({ attr ->
when (attr) {
"yt_black1", "yt_black1_opacity95", "yt_black2", "yt_black3", "yt_black4", "yt_status_bar_background_dark" -> "@android:color/black"
"yt_black1", "yt_black1_opacity95", "yt_black2", "yt_black3", "yt_black4",
"yt_status_bar_background_dark" -> "@android:color/black"

"yt_selected_nav_label_dark" -> "#ffdf0000"
else -> null
}
Expand Down

0 comments on commit 8d25b21

Please sign in to comment.