fix wrong activity transition of LoginActivity

main
Konrad Pozniak 6 years ago
parent 5118122c4a
commit 04b471d100
  1. 7
      app/src/main/java/com/keylesspalace/tusky/LoginActivity.kt

@ -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…
Cancel
Save