fix: calculateIconTranslations on A14 and HyperOS

This commit is contained in:
2023-11-02 09:11:06 +08:00
parent db4b418ed4
commit 25a23d7e1a

View File

@@ -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>()