updating commons

This commit is contained in:
tibbi 2022-02-07 11:45:59 +01:00
parent 47cba56e31
commit cc04594d31
7 changed files with 8 additions and 8 deletions

View file

@ -205,7 +205,7 @@ class MainActivity : SimpleActivity() {
}
private fun getNewConversations(cachedConversations: ArrayList<Conversation>) {
val privateCursor = getMyContactsCursor(false, true)?.loadInBackground()
val privateCursor = getMyContactsCursor(false, true)
ensureBackgroundThread {
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
val conversations = getConversations(privateContacts = privateContacts)

View file

@ -173,7 +173,7 @@ class NewConversationActivity : SimpleActivity() {
}
private fun fillSuggestedContacts(callback: () -> Unit) {
val privateCursor = getMyContactsCursor(false, true)?.loadInBackground()
val privateCursor = getMyContactsCursor(false, true)
ensureBackgroundThread {
privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
val suggestions = getSuggestedContacts(privateContacts)

View file

@ -232,7 +232,7 @@ class ThreadActivity : SimpleActivity() {
}
private fun setupThread() {
val privateCursor = getMyContactsCursor(false, true)?.loadInBackground()
val privateCursor = getMyContactsCursor(false, true)
ensureBackgroundThread {
privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)