From 418dfb344c72ab389027cfc72f60dbbedb02bd07 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 22 Aug 2024 10:25:05 -0300 Subject: [PATCH] Fix joining string for file selection --- .../calyxos/backup/storage/ui/restore/FileSelectionManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/lib/src/main/java/org/calyxos/backup/storage/ui/restore/FileSelectionManager.kt b/storage/lib/src/main/java/org/calyxos/backup/storage/ui/restore/FileSelectionManager.kt index 6fdf7769..dd9bdb56 100644 --- a/storage/lib/src/main/java/org/calyxos/backup/storage/ui/restore/FileSelectionManager.kt +++ b/storage/lib/src/main/java/org/calyxos/backup/storage/ui/restore/FileSelectionManager.kt @@ -138,7 +138,7 @@ public class FileSelectionManager { val name = if (i >= parts.size - 1) { parts[i] } else { - parts.subList(i, parts.size).joinToString { "/" } + parts.subList(i, parts.size).joinToString("/") } levels[folder] = Pair(subPathLevel.first + 1, name) return@forEach