mirror of
https://github.com/fankes/ColorOSNotifyIcon.git
synced 2025-09-06 02:35:41 +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 {
|
when {
|
||||||
isEnable.not() -> {
|
isEnable.not() -> {
|
||||||
if (isTint) view.backgroundTintList = defaultNotifyPanelTintList
|
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
|
isTint.not() && view.parent?.parent?.javaClass?.name?.contains("ChildrenContainer") == true -> drawable?.alpha = 0
|
||||||
else -> {
|
else -> {
|
||||||
|
Reference in New Issue
Block a user