adding a crashfix
This commit is contained in:
parent
1c972f5fe8
commit
a06ed027cd
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue