mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-11-07 21:43:14 -05:00
check empty line at root file handling
This commit is contained in:
1 parent
0dcc77cdc2
commit
fc75b4c7d5
1 file changed
+1
-1
@@ -104,7 +104,7 @@ class RootHelpers {
|
||||
override fun commandCompleted(id: Int, exitcode: Int) {
|
||||
files.forEachIndexed { index, fileDirItem ->
|
||||
var line = lines[index]
|
||||
if (line != "0") {
|
||||
if (line.isNotEmpty() && line != "0") {
|
||||
line = line.substring(fileDirItem.path.length).trim()
|
||||
val size = line.split(" ")[0]
|
||||
if (size.areDigitsOnly()) {
|
||||
|
||||
Reference in new issue
Block a user