mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 22:22:22 +01:00
Fix up loading usernames from a room when switching to single chat through notifications
This commit is contained in:
parent
241e281146
commit
08edff1071
1 changed files with 3 additions and 0 deletions
|
@ -401,6 +401,9 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
||||||
viewHolder.username.setVisibility(View.VISIBLE);
|
viewHolder.username.setVisibility(View.VISIBLE);
|
||||||
viewHolder.username.setText(displayName);
|
viewHolder.username.setText(displayName);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
viewHolder.username.setText(null);
|
||||||
|
viewHolder.username.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
if (bodyLanguage != null) {
|
if (bodyLanguage != null) {
|
||||||
timeInfoBuilder.add(bodyLanguage.toUpperCase(Locale.US));
|
timeInfoBuilder.add(bodyLanguage.toUpperCase(Locale.US));
|
||||||
|
|
Loading…
Reference in a new issue