mirror of
https://github.com/FossifyOrg/Contacts.git
synced 2026-02-02 03:32:19 -05:00
adding a contact null crashfix
This commit is contained in:
@@ -215,7 +215,7 @@ class ViewContactActivity : ContactActivity() {
|
||||
}
|
||||
|
||||
private fun setupContactDetails() {
|
||||
if (isFinishing || isDestroyed) {
|
||||
if (isFinishing || isDestroyed || contact == null) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user