mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-11 09:00:52 +01:00
adding a crashfix
This commit is contained in:
parent
1c972f5fe8
commit
a06ed027cd
@ -134,6 +134,10 @@ class ViewContactActivity : ContactActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun gotContact() {
|
private fun gotContact() {
|
||||||
|
if (isDestroyed || isFinishing) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
contact_scrollview.beVisible()
|
contact_scrollview.beVisible()
|
||||||
setupViewContact()
|
setupViewContact()
|
||||||
contact_send_sms.beVisibleIf(contact!!.phoneNumbers.isNotEmpty())
|
contact_send_sms.beVisibleIf(contact!!.phoneNumbers.isNotEmpty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user