Skip to content

Commit f172b6b

Browse files
committed
Fix notification panel background tint list color not set problem in SystemUIHooker
1 parent ecf7ed8 commit f172b6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/fankes/coloros/notify/hook/entity/SystemUIHooker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ object SystemUIHooker : YukiBaseHooker() {
505505
when {
506506
isEnable.not() -> {
507507
if (isTint) view.backgroundTintList = defaultNotifyPanelTintList
508-
else drawable?.setTint(currentColor)
508+
else drawable?.setTintList(defaultNotifyPanelTintList)
509509
}
510510
isTint.not() && view.parent?.parent?.javaClass?.name?.contains("ChildrenContainer") == true -> drawable?.alpha = 0
511511
else -> {

0 commit comments

Comments
 (0)