aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/dirlist.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index 01adfe7..4dc8fd2 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) {