mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 11:21:18 +08:00
修复一处MIUI14的问题
This commit is contained in:
@@ -19,11 +19,11 @@ object MaximumNumberOfNotificationIconsForT: YukiBaseHooker() {
|
|||||||
if (this.args[0] as Boolean) {
|
if (this.args[0] as Boolean) {
|
||||||
instance.current().field { name = "MAX_DOTS" }.set(dots)
|
instance.current().field { name = "MAX_DOTS" }.set(dots)
|
||||||
instance.current().field { name = "MAX_STATIC_ICONS" }.set(icons)
|
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 {
|
} else {
|
||||||
instance.current().field { name = "MAX_DOTS" }.set(0)
|
instance.current().field { name = "MAX_DOTS" }.set(0)
|
||||||
instance.current().field { name = "MAX_STATIC_ICONS" }.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()
|
instance.current().method { name = "updateState" }.call()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user