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