Add account total unread/mentions indicator
This commit is contained in:
@@ -79,6 +79,16 @@ HColumnLayout {
|
||||
|
||||
radius: theme.accountsBar.accountList.account.avatarRadius
|
||||
}
|
||||
|
||||
MessageIndicator {
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
indicatorTheme:
|
||||
theme.accountView.roomList.room.unreadIndicator
|
||||
unreads: model.total_unread
|
||||
mentions: model.total_mentions
|
||||
}
|
||||
}
|
||||
|
||||
onLeftClicked: roomList.goToAccount(model.id)
|
||||
|
@@ -30,6 +30,5 @@ HLabel {
|
||||
property int mentions: 0
|
||||
|
||||
|
||||
|
||||
Behavior on scale { HNumberAnimation {} }
|
||||
}
|
||||
|
Reference in New Issue
Block a user