mirror of
https://github.com/fankes/ColorOSNotifyIcon.git
synced 2025-09-04 09:45:34 +08:00
Fix notification panel background tint list color not set problem in SystemUIHooker
This commit is contained in:
@@ -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 -> {
|
||||
|
Reference in New Issue
Block a user