dirlist: don't invalidate on spinner.Invalidate
The dirlist is invalidated explicitly after the spinner is stopped. For simplicitly, don't invalidate on spinner.Invalidate. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
044519e1dc
commit
aa01f0f6dc
1 changed files with 0 additions and 3 deletions
|
@ -80,9 +80,6 @@ func NewDirectoryList(conf *config.AercConfig, acctConf *config.AccountConfig,
|
||||||
}
|
}
|
||||||
uiConf := dirlist.UiConfig("")
|
uiConf := dirlist.UiConfig("")
|
||||||
dirlist.spinner = NewSpinner(uiConf)
|
dirlist.spinner = NewSpinner(uiConf)
|
||||||
dirlist.spinner.OnInvalidate(func(_ ui.Drawable) {
|
|
||||||
dirlist.Invalidate()
|
|
||||||
})
|
|
||||||
dirlist.spinner.Start()
|
dirlist.spinner.Start()
|
||||||
|
|
||||||
if uiConf.DirListTree {
|
if uiConf.DirListTree {
|
||||||
|
|
Loading…
Reference in a new issue