diff --git a/widgets/account.go b/widgets/account.go index 70686fb..3848bbf 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -86,7 +86,7 @@ func NewAccountView(conf *config.AccountConfig, return acct } -func (acct *AccountView) Children() []Drawable { +func (acct *AccountView) Children() []ui.Drawable { return acct.grid.Children() } diff --git a/widgets/aerc.go b/widgets/aerc.go index 1ee4994..26dc5f2 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -7,6 +7,7 @@ import ( "github.com/gdamore/tcell" "git.sr.ht/~sircmpwn/aerc2/config" + "git.sr.ht/~sircmpwn/aerc2/lib/ui" libui "git.sr.ht/~sircmpwn/aerc2/lib/ui" ) @@ -49,7 +50,7 @@ func NewAerc(conf *config.AercConfig, logger *log.Logger) *Aerc { return aerc } -func (aerc *Aerc) Children() []Drawable { +func (aerc *Aerc) Children() []ui.Drawable { return aerc.grid.Children() }