summary refs log tree commit diff stats
path: root/widgets/msglist.go
diff options
context:
space:
mode:
authory0ast <joost@joo.st>2020-09-01 09:31:44 +0100
committerReto Brunner <reto@labrat.space>2020-09-01 19:09:27 +0200
commitf09e3966a7882fce0170e61011208fb9c51a6de4 (patch)
treefaca54d1537409ad5dc57093ec95918001811224 /widgets/msglist.go
parent0acb28645fe73d488b82d2915add6c262028bbe3 (diff)
downloadaerc-f09e3966a7882fce0170e61011208fb9c51a6de4.tar.gz
correctly apply msglist_read color
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index e38dd9e..09b0868 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -125,7 +125,10 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
 				flagged = true
 			}
 		}
-		if !seen {
+
+		if seen {
+			so = config.STYLE_MSGLIST_READ
+		} else {
 			so = config.STYLE_MSGLIST_UNREAD
 		}