allow closing View screen quicker with double back button

This commit is contained in:
tibbi 2020-04-29 18:31:19 +02:00
parent b8e633aea8
commit fa05c304e9
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class ViewContactActivity : ContactActivity() {
}
override fun onBackPressed() {
if (contact_photo_big.isVisible()) {
if (contact_photo_big.alpha == 1f) {
hideBigContactPhoto()
} else {
super.onBackPressed()