diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/account.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go index ba2b8d3..c252e38 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -110,6 +110,10 @@ func (acct *AccountView) Focus(focus bool) { // TODO: Unfocus children I guess } +func (acct *AccountView) Worker() *types.Worker { + return acct.worker +} + func (acct *AccountView) connected(msg types.WorkerMessage) { switch msg := msg.(type) { case *types.Done: |