mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
allow closing View screen quicker with double back button
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user