Sort out dirstore once and for all
This commit is contained in:
parent
b12eba55c3
commit
f7387f8c60
3 changed files with 2 additions and 16 deletions
widgets
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue