Add offline state for pending contacts.

This commit is contained in:
akwizgran
2019-06-15 12:27:24 +01:00
parent 9c20e6b333
commit b0e97d787f
6 changed files with 50 additions and 26 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(R.string.offline_state);
break;
case CONNECTING:
status.setText(R.string.connecting);
break;