Skip to content
Snippets Groups Projects
Verified Commit bf39c30d authored by akwizgran's avatar akwizgran
Browse files

Don't call setValue() on a background thread.

parent a650d812
No related branches found
No related tags found
1 merge request!1123Don't call setValue() on a background thread
Pipeline #3455 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