Revert "Remove duration from the status methods"
This reverts commit f06d683688
.
This commit is contained in:
parent
b9af9b5fb1
commit
76a91813d8
29 changed files with 104 additions and 74 deletions
commands/msgview
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue