Revert "Remove duration from the status methods"

This reverts commit f06d683688.
This commit is contained in:
Drew DeVault 2020-05-28 10:32:32 -04:00
commit 76a91813d8
29 changed files with 104 additions and 74 deletions
commands/msgview

View file

@ -128,10 +128,10 @@ func (Save) Execute(aerc *widgets.Aerc, args []string) error {
go func() {
err := <-ch
if err != nil {
aerc.PushError(fmt.Sprintf("Save failed: %v", err))
aerc.PushError(fmt.Sprintf("Save failed: %v", err), 10*time.Second)
return
}
aerc.PushStatus("Saved to " + path)
aerc.PushStatus("Saved to "+path, 10*time.Second)
}()
return nil
}