1 files changed, 1 insertions, 10 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 7c74794b..15a3bf04 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -436,20 +436,11 @@ Page {
anchors.right: parent.right
Rectangle {
id: typingRect
- Connections {
- target: chat.model
- onTypingUsersChanged: {
- if (chat.model && chat.model.typingUsers < 1)
- typingRect.color = "transparent"
- else
- typingRect.color = colors.window
- }
- }
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 10
anchors.rightMargin: 10
- color: "transparent"
+ color: (chat.model && chat.model.typingUsers.length > 0) ? colors.window : "transparent"
height: fontMetrics.height + 10
Label {
id: typingDisplay
|