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() {
|
override fun onBackPressed() {
|
||||||
if (contact_photo_big.isVisible()) {
|
if (contact_photo_big.alpha == 1f) {
|
||||||
hideBigContactPhoto()
|
hideBigContactPhoto()
|
||||||
} else {
|
} else {
|
||||||
super.onBackPressed()
|
super.onBackPressed()
|
||||||
|
Reference in New Issue
Block a user