allow closing View screen quicker with double back button
This commit is contained in:
parent
b8e633aea8
commit
fa05c304e9
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue