Swap message list placeholder for spinner

This commit is contained in:
Drew DeVault 2019-01-13 20:04:18 -05:00
parent a782b709d1
commit c047b068c2
1 changed files with 3 additions and 1 deletions

View File

@ -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)