aboutsummaryrefslogtreecommitdiffstats
path: root/app/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/account.go')
-rw-r--r--app/account.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/account.go b/app/account.go
index bcb5028a..c7abde6f 100644
--- a/app/account.go
+++ b/app/account.go
@@ -31,7 +31,6 @@ type AccountView struct {
dirlist DirectoryLister
labels []string
grid *ui.Grid
- host TabHost
tab *ui.Tab
msglist *MessageList
worker *types.Worker
@@ -125,7 +124,7 @@ func (acct *AccountView) SetStatus(setters ...state.SetStateFunc) {
func (acct *AccountView) UpdateStatus() {
if acct.isSelected() {
- acct.host.UpdateStatus()
+ UpdateStatus()
}
}
@@ -247,7 +246,7 @@ func (acct *AccountView) newStore(name string) *lib.MessageStore {
}
}, func() {
if uiConf.NewMessageBell {
- acct.host.Beep()
+ aerc.Beep()
}
},
acct.updateSplitView,