aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/dirlist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/dirlist.go')
-rw-r--r--widgets/dirlist.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go
index da2fa69a..6a10c99a 100644
--- a/widgets/dirlist.go
+++ b/widgets/dirlist.go
@@ -4,7 +4,6 @@ import (
"bytes"
"context"
"math"
- "os"
"regexp"
"sort"
"time"
@@ -79,7 +78,7 @@ func NewDirectoryList(acctConf *config.AccountConfig,
dirlist.spinner.Start()
if uiConf.DirListTree {
- return NewDirectoryTree(dirlist, string(os.PathSeparator))
+ return NewDirectoryTree(dirlist)
}
return dirlist