Don't close app when clicking app icon in MainActivity.
This commit is contained in:
parent
f5ee0996eb
commit
9b5175114f
1 changed files with 1 additions and 2 deletions
|
@ -120,8 +120,7 @@ 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