mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-04-21 06:48:28 -04: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