mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-27 08:51:18 +01:00
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) {
|
||||
getChildrenCount(activity, files, path, callback)
|
||||
if (files.isEmpty()) {
|
||||
callback(path, files)
|
||||
} else {
|
||||
getChildrenCount(activity, files, path, callback)
|
||||
}
|
||||
|
||||
super.commandCompleted(id, exitcode)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user