Update YukiHookAPI

This commit is contained in:
2022-04-13 04:42:25 +08:00
parent c8ec50cb29
commit d1e4c17817
2 changed files with 5 additions and 5 deletions

View File

@@ -175,11 +175,11 @@ class HookEntry : YukiHookXposedInitProxy {
}
beforeHook {
if (prefs.get(DataConst.ENABLE_NOTIFY_TIP))
when (firstArgs<CharSequence>()) {
when (args().first().cast<CharSequence>()) {
"QQ正在后台运行" ->
args().set("QQ正在后台运行 - TSBattery 守护中")
args().first().set("QQ正在后台运行 - TSBattery 守护中")
"TIM正在后台运行" ->
args().set("TIM正在后台运行 - TSBattery 守护中")
args().first().set("TIM正在后台运行 - TSBattery 守护中")
}
}
}