aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/utils.go')
-rw-r--r--commands/msg/utils.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/msg/utils.go b/commands/msg/utils.go
index 423be37d..42693348 100644
--- a/commands/msg/utils.go
+++ b/commands/msg/utils.go
@@ -15,15 +15,15 @@ type helper struct {
statusInfo func(string)
}
-func newHelper(aerc *app.Aerc) *helper {
- msgProvider, ok := aerc.SelectedTabContent().(app.ProvidesMessages)
+func newHelper() *helper {
+ msgProvider, ok := app.SelectedTabContent().(app.ProvidesMessages)
if !ok {
- msgProvider = aerc.SelectedAccount()
+ msgProvider = app.SelectedAccount()
}
return &helper{
msgProvider: msgProvider,
statusInfo: func(s string) {
- aerc.PushStatus(s, 10*time.Second)
+ app.PushStatus(s, 10*time.Second)
},
}
}