summaryrefslogtreecommitdiff
path: root/widgets/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go
index 54eb9e9..70686fb 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -86,6 +86,10 @@ func NewAccountView(conf *config.AccountConfig,
return acct
}
+func (acct *AccountView) Children() []Drawable {
+ return acct.grid.Children()
+}
+
func (acct *AccountView) OnInvalidate(onInvalidate func(d ui.Drawable)) {
acct.grid.OnInvalidate(func(_ ui.Drawable) {
onInvalidate(acct)