mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-08 07:58:51 +01:00
handle the new way of fetching private contacts
This commit is contained in:
parent
2f6139e477
commit
e2b8bb90a7
@ -507,7 +507,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||
if (it) {
|
||||
SetRemindersDialog(this) {
|
||||
val reminders = it
|
||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
||||
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
|
||||
|
||||
ensureBackgroundThread {
|
||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||
@ -536,7 +536,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||
if (it) {
|
||||
SetRemindersDialog(this) {
|
||||
val reminders = it
|
||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
||||
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
|
||||
|
||||
ensureBackgroundThread {
|
||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||
|
Loading…
x
Reference in New Issue
Block a user