diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:04:18 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:04:18 -0500 |
commit | c047b068c279ef49ae8e95b180d7b7fe0ec5b815 (patch) | |
tree | 845ef0b656428189756d4d70979261c4cd8fd346 | |
parent | a782b709d1312bfe80dda7c864de96ba1c854bc2 (diff) |
Swap message list placeholder for spinner
-rw-r--r-- | widgets/account.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/account.go b/widgets/account.go index 4411094..ebb8250 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -39,7 +39,9 @@ func NewAccountView( {ui.SIZE_EXACT, 20}, {ui.SIZE_WEIGHT, 1}, }) - grid.AddChild(ui.NewFill('.')).At(0, 1) + spinner := NewSpinner() + spinner.Start() + grid.AddChild(spinner).At(0, 1) grid.AddChild(statusbar).At(1, 1) worker, err := worker.NewWorker(conf.Source, logger) |