mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-04 01:35:26 +08:00
fix: calculateIconTranslations on A14 and HyperOS
This commit is contained in:
@@ -891,7 +891,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
name = "resetViewStates"
|
||||
}.hook().after { updateStatusBarIconAlpha(instance()) }
|
||||
method {
|
||||
name = "calculateIconTranslations"
|
||||
name { it == "calculateIconTranslations" || it == "calculateIconXTranslations" }
|
||||
}.hook().after {
|
||||
/** 缓存实例 */
|
||||
notificationIconContainer = instance<ViewGroup>()
|
||||
|
Reference in New Issue
Block a user