diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/widgets/account.go b/widgets/account.go index 93a75973..cafc29de 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -143,14 +143,8 @@ func (acct *AccountView) Name() string { return acct.acct.Name } -func (acct *AccountView) OnInvalidate(onInvalidate func(d ui.Drawable)) { - acct.grid.OnInvalidate(func(_ ui.Drawable) { - onInvalidate(acct) - }) -} - func (acct *AccountView) Invalidate() { - acct.grid.Invalidate() + ui.Invalidate() } func (acct *AccountView) Draw(ctx *ui.Context) { |