adding a contact null crashfix

This commit is contained in:
tibbi 2019-10-28 17:53:59 +01:00
parent 0cf265cb50
commit f16e437b5d
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class ViewContactActivity : ContactActivity() {
}
private fun setupContactDetails() {
if (isFinishing || isDestroyed) {
if (isFinishing || isDestroyed || contact == null) {
return
}