Merge branch '1580-offline-state' into 'master'

Add offline state for pending contacts

Closes #1580

See merge request briar/briar!1138
This commit is contained in:
Torsten Grote
2019-06-17 13:10:41 +00:00
8 changed files with 77 additions and 30 deletions

View File

@@ -52,6 +52,11 @@ class PendingContactViewHolder extends ViewHolder {
.getColor(status.getContext(), R.color.briar_yellow);
status.setText(R.string.waiting_for_contact_to_come_online);
break;
case OFFLINE:
color = ContextCompat
.getColor(status.getContext(), R.color.briar_yellow);
status.setText("");
break;
case CONNECTING:
status.setText(R.string.connecting);
break;