simplify check for no typing users

pull/285/head
Jussi Kuokkanen 4 years ago
parent 7d72356318
commit c463568031
  1. 3
      resources/qml/TimelineView.qml

@ -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…
Cancel
Save