renaming a variable

This commit is contained in:
tibbi 2018-01-24 21:49:49 +01:00
parent 07b75a5fe1
commit 861f9ff8dc
1 changed files with 3 additions and 3 deletions

View File

@ -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)