mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
Clean up
This commit is contained in:
parent
2b312ff74d
commit
d0350963cb
@ -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
|
||||
|
@ -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...";
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user