Swap message list placeholder for spinner
This commit is contained in:
parent
a782b709d1
commit
c047b068c2
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ func NewAccountView(
|
||||||
{ui.SIZE_EXACT, 20},
|
{ui.SIZE_EXACT, 20},
|
||||||
{ui.SIZE_WEIGHT, 1},
|
{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)
|
grid.AddChild(statusbar).At(1, 1)
|
||||||
|
|
||||||
worker, err := worker.NewWorker(conf.Source, logger)
|
worker, err := worker.NewWorker(conf.Source, logger)
|
||||||
|
|
Loading…
Reference in a new issue