fix: cleanup & trigger release for ThemePatch

Closes #447
Closes revanced/revanced-patcher#99
This commit is contained in:
Sculas 2022-09-08 18:35:08 +02:00
parent 803a5992e9
commit 8d25b214e2
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89

View File

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