Skip to content
Snippets Groups Projects
Commit 157b64e6 authored by Torsten Grote's avatar Torsten Grote
Browse files

Merge branch 'pending-contacts-crash' into 'master'

Don't call setValue() on a background thread

See merge request !1123
parents a650d812 bf39c30d
No related branches found
No related tags found
1 merge request!1123Don't call setValue() on a background thread
Pipeline #3458 passed
......@@ -82,7 +82,7 @@ public class PendingContactListViewModel extends AndroidViewModel
items.add(new PendingContactItem(p.getFirst(),
p.getSecond()));
}
pendingContacts.setValue(items);
pendingContacts.postValue(items);
} catch (DbException e) {
logException(LOG, WARNING, e);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment