Fix notification panel background tint list color not set problem in SystemUIHooker

This commit is contained in:
2023-04-18 01:45:35 +08:00
parent ecf7ed8653
commit f172b6b1b9

View File

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