Fixed bug

This commit is contained in:
Andrei Smirnov 2021-08-20 08:22:24 +03:00 committed by Iuri Matias
parent 754e49bf0f
commit 8e0db42cde
1 changed files with 1 additions and 3 deletions

View File

@ -83,8 +83,6 @@ Item {
model: userListDelegate
section.property: "online"
section.delegate: Item {
id: sectionItem
property bool online: !!section
width: parent.width
height: 24
@ -93,7 +91,7 @@ Item {
anchors.leftMargin: Style.current.padding
font.pixelSize: Style.current.additionalTextSize
color: Style.current.darkGrey
text: sectionItem.online ? qsTr("Online") : qsTr("Offline")
text: section === 'true' ? qsTr("Online") : qsTr("Offline")
}
}
}