Get rid of the aerc.PushError(" " + $string) idiom

The individual callers should not be responsible for padding
This commit is contained in:
Reto Brunner 2021-01-30 13:51:32 +01:00
commit 8ea86cea41
18 changed files with 29 additions and 29 deletions
commands/msg

View file

@ -187,7 +187,7 @@ func submitFlagChange(aerc *widgets.Aerc, store *lib.MessageStore,
case *types.Done:
wg.Done()
case *types.Error:
aerc.PushError(" " + msg.Error.Error())
aerc.PushError(msg.Error.Error())
*success = false
wg.Done()
}