diff options
author | y0ast <joost@joo.st> | 2020-09-01 09:31:44 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-09-01 19:09:27 +0200 |
commit | f09e3966a7882fce0170e61011208fb9c51a6de4 (patch) | |
tree | faca54d1537409ad5dc57093ec95918001811224 | |
parent | 0acb28645fe73d488b82d2915add6c262028bbe3 (diff) | |
download | aerc-f09e3966a7882fce0170e61011208fb9c51a6de4.tar.gz |
correctly apply msglist_read color
-rw-r--r-- | widgets/msglist.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index e38dd9e6..09b0868c 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 } |