Skip to content

Commit

Permalink
Merge pull request #28 from wukaicheng/main
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
nnjun authored Jul 4, 2021
2 parents 803985f + e872452 commit b61d086
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 b61d086

Please sign in to comment.