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