diff options
author | Jussi Kuokkanen <jussi.kuokkanen@protonmail.com> | 2020-09-17 17:50:39 +0300 |
---|---|---|
committer | Jussi Kuokkanen <jussi.kuokkanen@protonmail.com> | 2020-09-17 17:50:39 +0300 |
commit | c4635680318e8116b058a4791a44d48b5220b903 (patch) | |
tree | 00ab5d2dee522e47a9b504b205a636d085caf72d /resources/qml/TimelineView.qml | |
parent | Merge branch 'master' of https://github.com/Nheko-Reborn/nheko (diff) | |
download | nheko-c4635680318e8116b058a4791a44d48b5220b903.tar.xz |
simplify check for no typing users
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 71a287bb..202c09e9 100644 --- a/resources/qml/TimelineView.qml +++ b/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 |