Add unread message indicator for room . #6
This commit is contained in:
@@ -37,7 +37,7 @@ Item {
|
||||
bottomPadding: 0
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
background: Item {
|
||||
background: Item {
|
||||
Row {
|
||||
anchors.fill: parent
|
||||
|
||||
@@ -142,6 +142,13 @@ Item {
|
||||
ToolTip.visible: mini && hovered
|
||||
ToolTip.text: name
|
||||
|
||||
Rectangle {
|
||||
width: 4
|
||||
height: parent.height
|
||||
color: Qt.tint(Material.accent, "#20FFFFFF")
|
||||
visible: unreadCount > 0
|
||||
}
|
||||
|
||||
contentItem: RowLayout {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 16
|
||||
|
||||
Reference in New Issue
Block a user