From f09e3966a7882fce0170e61011208fb9c51a6de4 Mon Sep 17 00:00:00 2001 From: y0ast Date: Tue, 1 Sep 2020 09:31:44 +0100 Subject: [PATCH] correctly apply msglist_read color --- widgets/msglist.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }