Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wukaicheng authored Jul 4, 2021
1 parent 803985f commit e872452
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -122,4 +122,4 @@ class SettingFragment : PreferenceFragmentCompat() {
savePathPreference.summary = path
}
}
}
}

0 comments on commit e872452

Please sign in to comment.