fix wrong activity transition of LoginActivity
This commit is contained in:
parent
7442f5bca8
commit
322a567e52
1 changed files with 7 additions and 0 deletions
|
@ -107,6 +107,13 @@ class LoginActivity : AppCompatActivity(), Injectable {
|
|||
|
||||
}
|
||||
|
||||
override fun finish() {
|
||||
super.finish()
|
||||
if(isAdditionalLogin()) {
|
||||
overridePendingTransition(R.anim.slide_from_left, R.anim.slide_to_right)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
if (item.itemId == android.R.id.home) {
|
||||
onBackPressed()
|
||||
|
|
Loading…
Reference in a new issue