mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
fix: formatting
This commit is contained in:
@@ -35,7 +35,7 @@ fun getCallContact(context: Context, call: Call?, callback: (CallContact) -> Uni
|
|||||||
val uri = Uri.decode(handle)
|
val uri = Uri.decode(handle)
|
||||||
if (uri.startsWith("tel:")) {
|
if (uri.startsWith("tel:")) {
|
||||||
val number = uri.substringAfter("tel:")
|
val number = uri.substringAfter("tel:")
|
||||||
ContactsHelper(context).getContacts(showOnlyContactsWithNumbers = true){ contacts ->
|
ContactsHelper(context).getContacts(showOnlyContactsWithNumbers = true) { contacts ->
|
||||||
val privateContacts = MyContactsContentProvider.getContacts(context, privateCursor)
|
val privateContacts = MyContactsContentProvider.getContacts(context, privateCursor)
|
||||||
if (privateContacts.isNotEmpty()) {
|
if (privateContacts.isNotEmpty()) {
|
||||||
contacts.addAll(privateContacts)
|
contacts.addAll(privateContacts)
|
||||||
|
Reference in New Issue
Block a user