mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
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…
x
Reference in New Issue
Block a user