mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 13:58:25 +00:00
refresh contacts database on new db query
This commit is contained in:
parent
778b8b490c
commit
c89fbabbf3
@ -41,6 +41,7 @@ public class ContactsCursorLoader extends CursorLoader {
|
||||
|
||||
@Override
|
||||
public Cursor loadInBackground() {
|
||||
ContactsDatabase.destroyInstance();
|
||||
db = ContactsDatabase.getInstance(context);
|
||||
return db.query(filter, pushOnly);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user