From e872452fbf0ca00e19717cd358e92122b6824142 Mon Sep 17 00:00:00 2001 From: kaicity <1830170041@qq.com> Date: Sun, 4 Jul 2021 21:10:36 +0800 Subject: [PATCH] fix bug --- .../top/niunaijun/blackdex/view/setting/SettingFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt b/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt index e393107..77c6d32 100644 --- a/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt +++ b/app/src/main/java/top/niunaijun/blackdex/view/setting/SettingFragment.kt @@ -86,7 +86,7 @@ class SettingFragment : PreferenceFragmentCompat() { } private val mHookDumpChange = Preference.OnPreferenceChangeListener { _, newValue -> - AppManager.mBlackBoxLoader.saveEnable(newValue as Boolean) + AppManager.mBlackBoxLoader.setHookDump(newValue as Boolean) return@OnPreferenceChangeListener true } @@ -122,4 +122,4 @@ class SettingFragment : PreferenceFragmentCompat() { savePathPreference.summary = path } } -} \ No newline at end of file +}