Skip to content

Commit

Permalink
Fix notification panel background tint list color not set problem in …
Browse files Browse the repository at this point in the history
…SystemUIHooker
  • Loading branch information
fankes committed Apr 17, 2023
1 parent ecf7ed8 commit f172b6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ object SystemUIHooker : YukiBaseHooker() {
when {
isEnable.not() -> {
if (isTint) view.backgroundTintList = defaultNotifyPanelTintList
else drawable?.setTint(currentColor)
else drawable?.setTintList(defaultNotifyPanelTintList)
}
isTint.not() && view.parent?.parent?.javaClass?.name?.contains("ChildrenContainer") == true -> drawable?.alpha = 0
else -> {
Expand Down

0 comments on commit f172b6b

Please sign in to comment.