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

Don't call setValue() on a background thread

See merge request briar/briar!1123
This commit is contained in:
Torsten Grote
2019-06-05 16:57:04 +00:00

View File

@@ -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);
}