Update YukiHookAPI

This commit is contained in:
2022-03-18 14:01:18 +08:00
parent c27f124b25
commit 3e50ca6db7
2 changed files with 3 additions and 3 deletions

View File

@@ -585,7 +585,7 @@ class HookEntry : YukiHookXposedInitProxy {
}
beforeHook { isShowNotificationIcons = firstArgs as Boolean }
}.ignoredNoSuchMemberFailure()
}.by { safeOfFalse { NotificationIconContainerClass.clazz.hasField(name = "MAX_STATIC_ICONS") } }
}.by { NotificationIconContainerClass.clazz.hasField(name = "MAX_STATIC_ICONS") }
NotificationHeaderViewWrapperClass.hook {
/** 修复下拉通知图标自动设置回 APP 图标的方法 */
injectMember {