about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-07-04 12:31:27 -0400
committerDrew DeVault <sir@cmpwn.com>2019-07-04 12:31:27 -0400
commitf7387f8c60d140b8b1c7236dfc2aa8d0471d05e7 (patch)
treea45c783c2e42825f25d79e58135910fee5cf1824 /widgets
parentb12eba55c3cac7e754d1a17c4da4ffa230846af9 (diff)
downloadaerc-f7387f8c60d140b8b1c7236dfc2aa8d0471d05e7.tar.gz
Sort out dirstore once and for all
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) {