Fix joining string for file selection

This commit is contained in:
Torsten Grote 2024-08-22 10:25:05 -03:00
parent a2189bc1f7
commit 418dfb344c
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF

View file

@ -138,7 +138,7 @@ public class FileSelectionManager {
val name = if (i >= parts.size - 1) { val name = if (i >= parts.size - 1) {
parts[i] parts[i]
} else { } else {
parts.subList(i, parts.size).joinToString { "/" } parts.subList(i, parts.size).joinToString("/")
} }
levels[folder] = Pair(subPathLevel.first + 1, name) levels[folder] = Pair(subPathLevel.first + 1, name)
return@forEach return@forEach