mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
properly show favorite private contacts from Simple Contacts Pro
This commit is contained in:
@ -43,7 +43,7 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage
|
||||
override fun primaryColorChanged(color: Int) {}
|
||||
|
||||
override fun refreshItems() {
|
||||
val privateCursor = context?.getMyContactsContentProviderCursorLoader()?.loadInBackground()
|
||||
val privateCursor = context?.getMyContactsCursor()?.loadInBackground()
|
||||
RecentsHelper(context).getRecentCalls { recents ->
|
||||
SimpleContactsHelper(context).getAvailableContacts(false) { contacts ->
|
||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(context, privateCursor)
|
||||
|
Reference in New Issue
Block a user