修正一个报错

This commit is contained in:
YuKongA
2022-03-11 13:15:06 +08:00
parent e86021d014
commit 804e53677d
18 changed files with 33 additions and 39 deletions

View File

@@ -8,7 +8,7 @@ import de.robv.android.xposed.XSharedPreferences
import de.robv.android.xposed.callbacks.XC_LoadPackage.LoadPackageParam
class MainHook : IXposedHookLoadPackage {
var prefs = XSharedPreferences(BuildConfig.APPLICATION_ID, "config")
private var prefs = XSharedPreferences(BuildConfig.APPLICATION_ID, "config")
override fun handleLoadPackage(lpparam: LoadPackageParam) {
if (prefs.getBoolean("main_switch", true)) {
EzXHelperInit.initHandleLoadPackage(lpparam)