mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Don't call setValue() on a background thread.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user