aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/tag-room-list.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/tag-room-list.go b/ui/tag-room-list.go
index dffe3c2..2705c49 100644
--- a/ui/tag-room-list.go
+++ b/ui/tag-room-list.go
@@ -53,6 +53,9 @@ func (or *OrderedRoom) Draw(roomList *RoomList, screen tcell.Screen, x, y, lineW
}
unreadCount := or.UnreadCount()
+
+ widget.WriteLinePadded(screen, tview.AlignLeft, or.GetTitle(), x, y, lineWidth, style)
+
if unreadCount > 0 {
unreadMessageCount := "99+"
if unreadCount < 100 {
@@ -65,8 +68,6 @@ func (or *OrderedRoom) Draw(roomList *RoomList, screen tcell.Screen, x, y, lineW
widget.WriteLine(screen, tview.AlignRight, unreadMessageCount, x+lineWidth-7, y, 7, style)
lineWidth -= len(unreadMessageCount)
}
-
- widget.WriteLinePadded(screen, tview.AlignLeft, or.GetTitle(), x, y, lineWidth, style)
}
type TagRoomList struct {