aboutsummaryrefslogtreecommitdiff
path: root/widgets/msglist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index 944bad8..6cf9b97 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -23,9 +23,9 @@ type MessageList struct {
store atomic.Value // *lib.MessageStore
}
-// TODO: fish in config
-func NewMessageList(logger *log.Logger) *MessageList {
+func NewMessageList(conf *config.AercConfig, logger *log.Logger) *MessageList {
ml := &MessageList{
+ conf: conf,
logger: logger,
selected: 0,
spinner: NewSpinner(),