Skip to content

Commit

Permalink
fix: wrong setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ultranity committed Jun 17, 2020
1 parent 2ad28f8 commit 28cd3ca
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ class SettingFragment : PreferenceFragmentCompat() {
findPreference<SwitchPreference>("show_user_img_main")!!.setOnPreferenceChangeListener { preference, newValue ->
Snackbar.make(requireView(), getString(R.string.needtorestart), Snackbar.LENGTH_SHORT)
.setAction(R.string.restart_now) {
PxEZApp.language = newValue.toString().toInt()
PxEZApp.ActivityCollector.recreate()
}
.show()
Expand Down

0 comments on commit 28cd3ca

Please sign in to comment.