aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/dirlist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/dirlist.go')
-rw-r--r--widgets/dirlist.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index 01adfe74..4dc8fd2c 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -48,6 +48,7 @@ func (dirlist *DirectoryList) List() []string {
}
func (dirlist *DirectoryList) UpdateList(done func(dirs []string)) {
+ // TODO: move this logic into dirstore
var dirs []string
dirlist.worker.PostAction(
&types.ListDirectories{}, func(msg types.WorkerMessage) {