diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/helpers/RootHelpers.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/helpers/RootHelpers.kt index 41c3132f..9327b196 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/helpers/RootHelpers.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/helpers/RootHelpers.kt @@ -103,9 +103,9 @@ class RootHelpers { override fun commandCompleted(id: Int, exitcode: Int) { files.forEachIndexed { index, fileDirItem -> - val childrenCount = lines[index] - if (childrenCount.areDigitsOnly()) { - fileDirItem.size = childrenCount.toLong() + val size = lines[index] + if (size.areDigitsOnly()) { + fileDirItem.size = size.toLong() } } callback(path, files)