fix: formatting

This commit is contained in:
ismailnurudeen 2023-04-18 16:58:48 +01:00
parent 7c17cf5dcd
commit c12a4c18db

View File

@ -35,7 +35,7 @@ fun getCallContact(context: Context, call: Call?, callback: (CallContact) -> Uni
val uri = Uri.decode(handle)
if (uri.startsWith("tel:")) {
val number = uri.substringAfter("tel:")
ContactsHelper(context).getContacts(showOnlyContactsWithNumbers = true){ contacts ->
ContactsHelper(context).getContacts(showOnlyContactsWithNumbers = true) { contacts ->
val privateContacts = MyContactsContentProvider.getContacts(context, privateCursor)
if (privateContacts.isNotEmpty()) {
contacts.addAll(privateContacts)