Skip to content

Commit 1a23315

Browse files
committed
adding a crashfix
1 parent 991e7b0 commit 1a23315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ class ContactsHelper(val context: Context) {
740740
}
741741

742742
val nickname = getNicknames(id)[id] ?: ""
743-
val photoUri = cursor.getStringValue(Phone.PHOTO_URI) ?: ""
743+
val photoUri = cursor.getStringValueOrNull(Phone.PHOTO_URI) ?: ""
744744
val number = getPhoneNumbers(id)[id] ?: ArrayList()
745745
val emails = getEmails(id)[id] ?: ArrayList()
746746
val addresses = getAddresses(id)[id] ?: ArrayList()

0 commit comments

Comments
 (0)