aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 20:04:18 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-13 20:04:18 -0500
commitc047b068c279ef49ae8e95b180d7b7fe0ec5b815 (patch)
tree845ef0b656428189756d4d70979261c4cd8fd346
parenta782b709d1312bfe80dda7c864de96ba1c854bc2 (diff)
Swap message list placeholder for spinner
-rw-r--r--widgets/account.go4
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)