diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/account.go b/widgets/account.go index 824f958..ae0cf56 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -9,6 +9,7 @@ import ( "git.sr.ht/~sircmpwn/aerc/config" "git.sr.ht/~sircmpwn/aerc/lib" "git.sr.ht/~sircmpwn/aerc/lib/ui" + "git.sr.ht/~sircmpwn/aerc/models" "git.sr.ht/~sircmpwn/aerc/worker" "git.sr.ht/~sircmpwn/aerc/worker/types" ) @@ -165,7 +166,7 @@ func (acct *AccountView) Store() *lib.MessageStore { return acct.msglist.Store() } -func (acct *AccountView) SelectedMessage() *types.MessageInfo { +func (acct *AccountView) SelectedMessage() *models.MessageInfo { return acct.msglist.Selected() } |