From 2737cd24922f78270aa0328561da57a0a7c523d8 Mon Sep 17 00:00:00 2001 From: LittleTurtle2333 Date: Sun, 5 Mar 2023 20:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84MIUI14?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rules/t/systemui/MaximumNumberOfNotificationIconsForT.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lt2333/simplicitytools/hooks/rules/t/systemui/MaximumNumberOfNotificationIconsForT.kt b/app/src/main/java/com/lt2333/simplicitytools/hooks/rules/t/systemui/MaximumNumberOfNotificationIconsForT.kt index 07e0677d..ed0d0306 100644 --- a/app/src/main/java/com/lt2333/simplicitytools/hooks/rules/t/systemui/MaximumNumberOfNotificationIconsForT.kt +++ b/app/src/main/java/com/lt2333/simplicitytools/hooks/rules/t/systemui/MaximumNumberOfNotificationIconsForT.kt @@ -19,11 +19,11 @@ object MaximumNumberOfNotificationIconsForT: YukiBaseHooker() { if (this.args[0] as Boolean) { instance.current().field { name = "MAX_DOTS" }.set(dots) instance.current().field { name = "MAX_STATIC_ICONS" }.set(icons) - instance.current().field { name = "MAX_VISIBLE_ICONS_ON_LOCK" }.set(icons) + instance.current().field { name = "MAX_ICONS_ON_LOCKSCREEN" }.set(icons) } else { instance.current().field { name = "MAX_DOTS" }.set(0) instance.current().field { name = "MAX_STATIC_ICONS" }.set(0) - instance.current().field { name = "MAX_VISIBLE_ICONS_ON_LOCK" }.set(0) + instance.current().field { name = "MAX_ICONS_ON_LOCKSCREEN" }.set(0) } instance.current().method { name = "updateState" }.call() }