fix hidden sort

This commit is contained in:
Gokcehan 2019-03-31 23:52:39 +03:00
parent b2b22fb674
commit 2c87b0dcfe

2
nav.go
View File

@ -150,7 +150,7 @@ func (dir *dir) sort() {
return isHidden(dir.files[i])
})
for i, f := range dir.files {
if isHidden(f) {
if !isHidden(f) {
dir.files = dir.files[i:]
return
}