From 77c76ba46296f57f88c591a420e929a059a55d3e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 15 Mar 2019 21:33:08 -0400 Subject: Implement default in accounts.conf --- widgets/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/account.go') diff --git a/widgets/account.go b/widgets/account.go index ecccd1b0..8716b11b 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -173,7 +173,7 @@ func (acct *AccountView) connected(msg types.WorkerMessage) { acct.dirlist.UpdateList(func(dirs []string) { var dir string for _, _dir := range dirs { - if _dir == "INBOX" { + if _dir == acct.acct.Default { dir = _dir break } -- cgit