Skip to content
Snippets Groups Projects
Commit c4635680 authored by Jussi Kuokkanen's avatar Jussi Kuokkanen
Browse files

simplify check for no typing users

parent 7d723563
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment