Revert "Don't close app when clicking app icon in MainActivity."
This was also breaking the back button.
This reverts commit 9b5175114f
.
This commit is contained in:
parent
514827ad8f
commit
39a2120300
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@ class MainActivity extends EnsichatActivity {
|
|||
currentChat = None
|
||||
getSupportActionBar.setDisplayHomeAsUpEnabled(false)
|
||||
setTitle(R.string.app_name)
|
||||
}
|
||||
} else
|
||||
super.onBackPressed()
|
||||
}
|
||||
|
||||
override def onOptionsItemSelected(item: MenuItem): Boolean = item.getItemId match {
|
||||
|
|
Reference in a new issue