diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-19 18:31:41 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-20 21:05:48 +0200 |
commit | aa01f0f6dc5faac9e332d4775bc6331e9a0c10ca (patch) | |
tree | 7361e14177d2715bf1d054b31a29c8b0d155d49f /widgets | |
parent | 044519e1dc270bdde5dcdba5611a7a4a93441204 (diff) | |
download | aerc-aa01f0f6dc5faac9e332d4775bc6331e9a0c10ca.tar.gz |
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>
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/dirlist.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go index 38f3c840..6a8df2e9 100644 --- a/widgets/dirlist.go +++ b/widgets/dirlist.go @@ -80,9 +80,6 @@ func NewDirectoryList(conf *config.AercConfig, acctConf *config.AccountConfig, } uiConf := dirlist.UiConfig("") dirlist.spinner = NewSpinner(uiConf) - dirlist.spinner.OnInvalidate(func(_ ui.Drawable) { - dirlist.Invalidate() - }) dirlist.spinner.Start() if uiConf.DirListTree { |