allow closing View screen quicker with double back button
This commit is contained in:
parent
b8e633aea8
commit
fa05c304e9
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ class ViewContactActivity : ContactActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBackPressed() {
|
override fun onBackPressed() {
|
||||||
if (contact_photo_big.isVisible()) {
|
if (contact_photo_big.alpha == 1f) {
|
||||||
hideBigContactPhoto()
|
hideBigContactPhoto()
|
||||||
} else {
|
} else {
|
||||||
super.onBackPressed()
|
super.onBackPressed()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue