feat: show the room name in bold if the room has unread messages

This commit is contained in:
Srevin Saju
2021-04-07 14:53:55 +03:00
committed by Tobias Fella
parent aa2d332b89
commit 9932823ad3

View File

@@ -122,7 +122,7 @@ Kirigami.ScrollablePage {
itemSelection.setCurrentIndex(sortFilterRoomListModel.mapToSource(sortFilterRoomListModel.index(index, 0)), ItemSelectionModel.SelectCurrent)
}
}
bold: unreadCount > 0
label: name ?? ""
subtitle: {
let txt = (lastEvent == "" ? topic : lastEvent).replace(/(\r\n\t|\n|\r\t)/gm," ")