From 6c050bf381e82b8bace388eeda5c51b5d7fd0b2f Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 19 Jun 2020 15:03:43 -0400 Subject: [PATCH] fix: channel chatType being a string instead of an int --- ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml b/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml index dc41934bbc..57877783ca 100644 --- a/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml +++ b/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml @@ -8,8 +8,8 @@ Rectangle { property string name: "channelName" property string lastMessage: "My latest message\n with a return" property string timestamp: "20/2/2020" - property string unviewedMessagesCount: "7" - property string chatType: Constants.chatTypePublic + property string unviewedMessagesCount: "2" + property int chatType: Constants.chatTypePublic property string searchStr: "" id: wrapper @@ -56,7 +56,7 @@ Rectangle { anchors.leftMargin: Theme.padding anchors.top: parent.top anchors.topMargin: Theme.smallPadding - visible: chatType !== Constants.chatTypeOneToOne + visible: wrapper.chatType !== Constants.chatTypeOneToOne } StyledText {