From 861f9ff8dc16f06340bf7eeb10d63363430f75ba Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 24 Jan 2018 21:49:49 +0100 Subject: [PATCH] renaming a variable --- .../simplemobiletools/filemanager/helpers/RootHelpers.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)