mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 11:21:18 +08:00
增加一处空指针判断
This commit is contained in:
@@ -397,12 +397,14 @@ class SystemUI : IXposedHookLoadPackage {
|
||||
prefs.reload()
|
||||
}
|
||||
if (prefs.getBoolean("hide_status_bar_network_speed_second", false)) {
|
||||
if (param.args[0] != null) {
|
||||
param.args[0] = (param.args[0] as String)
|
||||
.replace("/", "")
|
||||
.replace("s", "")
|
||||
.replace("'", "")
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
} catch (e: Exception) {
|
||||
XposedBridge.log(e)
|
||||
|
||||
Reference in New Issue
Block a user