diff --git a/app/src/main/java/com/fankes/miui/notify/hook/entity/SystemUIHooker.kt b/app/src/main/java/com/fankes/miui/notify/hook/entity/SystemUIHooker.kt index 2054799..b2ba37e 100644 --- a/app/src/main/java/com/fankes/miui/notify/hook/entity/SystemUIHooker.kt +++ b/app/src/main/java/com/fankes/miui/notify/hook/entity/SystemUIHooker.kt @@ -868,7 +868,7 @@ object SystemUIHooker : YukiBaseHooker() { StatusBarIconViewClass.method { name = "updateIconColor" emptyParam() - }.hook().after { + }.ignored().hook().after { val iconView = instance() val expandedNf = iconView.current().field { name = "mNotification" }.cast() /** Hook 状态栏小图标 */ @@ -955,7 +955,7 @@ object SystemUIHooker : YukiBaseHooker() { method { name = "updateState" }.ignored().hook().before { hookStatusBarMaxStaticIcons("MAX_STATIC_ICONS", instance) } - /** 新版方法 A14MIUI14/A14HyperOS - 旧版不存在 */ + /** 新版方法 (A14 MIUI14 / A14 HyperOS) - 旧版不存在 */ method { name = "onMeasure" }.ignored().hook().before { hookStatusBarMaxStaticIcons("mMaxStaticIcons", instance) }