From c4635680318e8116b058a4791a44d48b5220b903 Mon Sep 17 00:00:00 2001 From: Jussi Kuokkanen Date: Thu, 17 Sep 2020 17:50:39 +0300 Subject: [PATCH] simplify check for no typing users --- resources/qml/TimelineView.qml | 3 +-- 1 file changed, 1 insertion(+), 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