diff options
Diffstat (limited to 'commands/account/clear.go')
-rw-r--r-- | commands/account/clear.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go index 3fecc132..259a9de8 100644 --- a/commands/account/clear.go +++ b/commands/account/clear.go @@ -2,8 +2,8 @@ package account import ( "errors" + "git.sr.ht/~rjarry/aerc/widgets" - "time" ) type Clear struct{} @@ -30,6 +30,6 @@ func (Clear) Execute(aerc *widgets.Aerc, args []string) error { return errors.New("Cannot perform action. Messages still loading") } store.ApplyClear() - aerc.PushStatus("Clear complete.", 10*time.Second) + aerc.ClearExtraStatus() return nil } |