feat: show the room name in bold if the room has unread messages
This commit is contained in:
committed by
Tobias Fella
parent
aa2d332b89
commit
9932823ad3
@@ -122,7 +122,7 @@ Kirigami.ScrollablePage {
|
|||||||
itemSelection.setCurrentIndex(sortFilterRoomListModel.mapToSource(sortFilterRoomListModel.index(index, 0)), ItemSelectionModel.SelectCurrent)
|
itemSelection.setCurrentIndex(sortFilterRoomListModel.mapToSource(sortFilterRoomListModel.index(index, 0)), ItemSelectionModel.SelectCurrent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
bold: unreadCount > 0
|
||||||
label: name ?? ""
|
label: name ?? ""
|
||||||
subtitle: {
|
subtitle: {
|
||||||
let txt = (lastEvent == "" ? topic : lastEvent).replace(/(\r\n\t|\n|\r\t)/gm," ")
|
let txt = (lastEvent == "" ? topic : lastEvent).replace(/(\r\n\t|\n|\r\t)/gm," ")
|
||||||
|
|||||||
Reference in New Issue
Block a user