properly show favorite private contacts from Simple Contacts Pro

This commit is contained in:
tibbi
2020-06-19 11:32:48 +02:00
parent 2d59b72f25
commit 5cf3e25ef9
7 changed files with 16 additions and 7 deletions

View File

@ -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)