mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-04 01:35:26 +08:00
Fix in some cases the color of notification icons still not refreshed in SystemUIHooker
This commit is contained in:
@@ -776,10 +776,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
}
|
||||
/** Hook 更新通知图标事件 */
|
||||
injectMember {
|
||||
method {
|
||||
name = "updateNotificationIcons"
|
||||
paramCount = 1
|
||||
}
|
||||
method { name { it == "updateNotificationIcons" || it == "onChanged" } }.all()
|
||||
afterHook {
|
||||
field { name = "mNotificationIcons" }.get(instance).cast<ViewGroup>()?.also {
|
||||
/** 重新设置通知图标容器实例 */
|
||||
|
Reference in New Issue
Block a user