mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-09 08:08:49 +01:00
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…
x
Reference in New Issue
Block a user