Add [a]ttach to the review message prompts

This commit is contained in:
Drew DeVault 2019-07-19 16:12:26 -04:00
parent 6fed04bb9f
commit d8518909cc

View file

@ -540,7 +540,7 @@ func newReviewMessage(composer *Composer, err error) *reviewMessage {
} else { } else {
// TODO: source this from actual keybindings? // TODO: source this from actual keybindings?
grid.AddChild(ui.NewText( grid.AddChild(ui.NewText(
"Send this email? [y]es/[n]o/[e]dit")).At(0, 0) "Send this email? [y]es/[n]o/[e]dit/[a]ttach")).At(0, 0)
grid.AddChild(ui.NewText("Attachments:"). grid.AddChild(ui.NewText("Attachments:").
Reverse(true)).At(1, 0) Reverse(true)).At(1, 0)
if len(composer.attachments) == 0 { if len(composer.attachments) == 0 {