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

parent a650d812
Pipeline #3455 passed with stage
in 7 minutes and 44 seconds
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment