adding a contact null crashfix
This commit is contained in:
parent
0cf265cb50
commit
f16e437b5d
|
@ -215,7 +215,7 @@ class ViewContactActivity : ContactActivity() {
|
|||
}
|
||||
|
||||
private fun setupContactDetails() {
|
||||
if (isFinishing || isDestroyed) {
|
||||
if (isFinishing || isDestroyed || contact == null) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue