mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 12:20: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) {
|
if (it) {
|
||||||
SetRemindersDialog(this) {
|
SetRemindersDialog(this) {
|
||||||
val reminders = it
|
val reminders = it
|
||||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
|
||||||
|
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||||
@ -536,7 +536,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||||||
if (it) {
|
if (it) {
|
||||||
SetRemindersDialog(this) {
|
SetRemindersDialog(this) {
|
||||||
val reminders = it
|
val reminders = it
|
||||||
val privateCursor = getMyContactsCursor()?.loadInBackground()
|
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
|
||||||
|
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user