diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/account.go b/widgets/account.go index e5087ef5..4f25f77a 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -362,11 +362,11 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { seen = true } if flag == models.RecentFlag { - recent = recent + 1 + recent++ } } if !seen { - unseen = unseen + 1 + unseen++ } } if accurate { @@ -415,7 +415,7 @@ func (acct *AccountView) CheckMail() { return } // Exclude selected mailbox, per IMAP specification - exclude := append(acct.AccountConfig().CheckMailExclude, acct.dirlist.Selected()) + exclude := append(acct.AccountConfig().CheckMailExclude, acct.dirlist.Selected()) //nolint:gocritic // intentional append to different slice dirs := acct.dirlist.List() dirs = acct.dirlist.FilterDirs(dirs, acct.AccountConfig().CheckMailInclude, false) dirs = acct.dirlist.FilterDirs(dirs, exclude, true) |