Skip to content

Commit

Permalink
Kill exit animation.
Browse files Browse the repository at this point in the history
  • Loading branch information
milos85vasic committed Mar 8, 2024
1 parent 26761e2 commit 1f7b587
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,13 @@ abstract class BaseActivity : AppCompatActivity() {
super.onDestroy()
}

@Suppress("DEPRECATION")
override fun finish() {
super.finish()

overridePendingTransition(0, 0)
}

@Deprecated("Deprecated in Java")
@Suppress("DEPRECATION")
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
Expand Down

0 comments on commit 1f7b587

Please sign in to comment.