添加退出按钮
This commit is contained in:
1 parent
26ae1a62a2
commit
47a140dff7
12 files changed
+26
No files matched your search
@@ -155,6 +155,7 @@ class MyFragment : BaseFragment(R.layout.fragment_my_config) {
|
||||
"readRecord" -> startActivity<ReadRecordActivity>()
|
||||
"donate" -> startActivity<DonateActivity>()
|
||||
"about" -> startActivity<AboutActivity>()
|
||||
"exit" -> activity?.finish()
|
||||
}
|
||||
return super.onPreferenceTreeClick(preference)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user