Commit 41b59fbc authored by akwizgran's avatar akwizgran

Merge branch '1610-pending-contacts-offline-snackbar' into 'master'

Don't show offline snackbar when there's no pending contacts

Closes #1610

See merge request !1193
parents 98a4f5de bf9a39cc
Pipeline #3875 canceled with stage
......@@ -91,7 +91,7 @@ public class PendingContactListViewModel extends AndroidViewModel
Collection<Pair<PendingContact, PendingContactState>> pairs =
List<PendingContactItem> items = new ArrayList<>(pairs.size());
boolean online = false;
boolean online = items.isEmpty();
for (Pair<PendingContact, PendingContactState> pair : pairs) {
PendingContact p = pair.getFirst();
PendingContactState state = pair.getSecond();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment