move onOptionsItemSelected to BaseActivity (#2059)
* move onOptionsItemSelected to BaseActivity * revert change in ComposeActivity
This commit is contained in:
parent
ddc3ccc309
commit
483beaa957
22 changed files with 13 additions and 195 deletions
|
|
@ -296,10 +296,6 @@ class EditProfileActivity : BaseActivity(), Injectable {
|
|||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
when (item.itemId) {
|
||||
android.R.id.home -> {
|
||||
onBackPressed()
|
||||
return true
|
||||
}
|
||||
R.id.action_save -> {
|
||||
save()
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue