mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-15 10:27:41 +02:00
adding a crashfix
This commit is contained in:
parent
991e7b07c7
commit
1a23315ddf
@ -740,7 +740,7 @@ class ContactsHelper(val context: Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val nickname = getNicknames(id)[id] ?: ""
|
val nickname = getNicknames(id)[id] ?: ""
|
||||||
val photoUri = cursor.getStringValue(Phone.PHOTO_URI) ?: ""
|
val photoUri = cursor.getStringValueOrNull(Phone.PHOTO_URI) ?: ""
|
||||||
val number = getPhoneNumbers(id)[id] ?: ArrayList()
|
val number = getPhoneNumbers(id)[id] ?: ArrayList()
|
||||||
val emails = getEmails(id)[id] ?: ArrayList()
|
val emails = getEmails(id)[id] ?: ArrayList()
|
||||||
val addresses = getAddresses(id)[id] ?: ArrayList()
|
val addresses = getAddresses(id)[id] ?: ArrayList()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user