show the content of empty folders instantly
This commit is contained in:
parent
b03db843f2
commit
dd8d54bd4f
|
@ -42,7 +42,12 @@ class RootHelpers {
|
|||
}
|
||||
|
||||
override fun commandCompleted(id: Int, exitcode: Int) {
|
||||
if (files.isEmpty()) {
|
||||
callback(path, files)
|
||||
} else {
|
||||
getChildrenCount(activity, files, path, callback)
|
||||
}
|
||||
|
||||
super.commandCompleted(id, exitcode)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue