parent
ebf3bcc76b
commit
5e9580500c
8
ui.go
8
ui.go
@ -318,13 +318,13 @@ func (win *win) printDir(screen tcell.Screen, dir *dir, selections map[string]in
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if dir.loading {
|
if dir.noPerm {
|
||||||
win.print(screen, 2, 0, tcell.StyleDefault.Reverse(true), "loading...")
|
win.print(screen, 2, 0, tcell.StyleDefault.Reverse(true), "permission denied")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if dir.noPerm {
|
if dir.loading && len(dir.files) == 0 {
|
||||||
win.print(screen, 2, 0, tcell.StyleDefault.Reverse(true), "permission denied")
|
win.print(screen, 2, 0, tcell.StyleDefault.Reverse(true), "loading...")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user