Get rid of the aerc.PushError(" " + $string) idiom
The individual callers should not be responsible for padding
This commit is contained in:
parent
949781fa0a
commit
8ea86cea41
18 changed files with 29 additions and 29 deletions
commands/msg
|
@ -71,7 +71,7 @@ func (Move) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
case *types.Done:
|
||||
aerc.PushStatus("Message moved to "+joinedArgs, 10*time.Second)
|
||||
case *types.Error:
|
||||
aerc.PushError(" " + msg.Error.Error())
|
||||
aerc.PushError(msg.Error.Error())
|
||||
}
|
||||
})
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue