diff options
Diffstat (limited to 'commands/compose/encrypt.go')
-rw-r--r-- | commands/compose/encrypt.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/compose/encrypt.go b/commands/compose/encrypt.go index 3c852dc4..b9094c5e 100644 --- a/commands/compose/encrypt.go +++ b/commands/compose/encrypt.go @@ -16,16 +16,16 @@ func (Encrypt) Aliases() []string { return []string{"encrypt"} } -func (Encrypt) Complete(aerc *app.Aerc, args []string) []string { +func (Encrypt) Complete(args []string) []string { return nil } -func (Encrypt) Execute(aerc *app.Aerc, args []string) error { +func (Encrypt) Execute(args []string) error { if len(args) != 1 { return errors.New("Usage: encrypt") } - composer, _ := aerc.SelectedTabContent().(*app.Composer) + composer, _ := app.SelectedTabContent().(*app.Composer) composer.SetEncrypt(!composer.Encrypt()) return nil |