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