mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-04 06:29:28 -05:00
show the content of empty folders instantly
This commit is contained in:
@@ -42,7 +42,12 @@ class RootHelpers {
|
||||
}
|
||||
|
||||
override fun commandCompleted(id: Int, exitcode: Int) {
|
||||
getChildrenCount(activity, files, path, callback)
|
||||
if (files.isEmpty()) {
|
||||
callback(path, files)
|
||||
} else {
|
||||
getChildrenCount(activity, files, path, callback)
|
||||
}
|
||||
|
||||
super.commandCompleted(id, exitcode)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user