simplify check for no typing users
This commit is contained in:
parent
7d72356318
commit
c463568031
@ -439,8 +439,7 @@ Page {
|
||||
Connections {
|
||||
target: chat.model
|
||||
onTypingUsersChanged: {
|
||||
if (chat.model && chat.model.formatTypingUsers(chat.model.typingUsers,
|
||||
colors.window) === "")
|
||||
if (chat.model && chat.model.typingUsers < 1)
|
||||
typingRect.color = "transparent"
|
||||
else
|
||||
typingRect.color = colors.window
|
||||
|
Loading…
Reference in New Issue
Block a user