This commit is contained in:
Christian Pauly 2020-01-18 13:27:36 +01:00
parent 2b312ff74d
commit d0350963cb
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Version 0.4.0 - 2020-MM-DD
### New features
- Avatars with name letters
- Calc username colors
### Fixes
# Version 0.3.0 - 2020-01-17

View File

@ -164,7 +164,10 @@ class _ChatState extends State<Chat> {
typingUsers.removeWhere((User u) => u.id == client.userID);
if (typingUsers.length == 1) {
typingText = "${typingUsers.first.calcDisplayname()} is typing...";
typingText = "is typing...";
if (typingUsers.first.id != room.directChatMatrixID) {
typingText = typingUsers.first.calcDisplayname() + " " + typingText;
}
} else if (typingUsers.length == 2) {
typingText =
"${typingUsers.first.calcDisplayname()} and ${typingUsers[1].calcDisplayname()} are typing...";

View File

@ -214,7 +214,7 @@ class _ChatDetailsState extends State<ChatDetails> {
: Container(),
],
)
: i < members.length + 1 && false
: i < members.length + 1
? ParticipantListItem(members[i - 1])
: ListTile(
title: Text(