Merge pull request #28 from wukaicheng/main

fix bug
pull/30/head v3.1.0
Milk 3 years ago committed by GitHub
commit b61d0860cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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
}
}
}
}

Loading…
Cancel
Save