Skip to content

Commit 65bbe06

Browse files
committed
make the path at Favorite path picker nicer
1 parent c8e104d commit 65bbe06

File tree

1 file changed

+2
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities

1 file changed

+2
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ class MainActivity : SimpleActivity() {
273273
var currFavoriteIndex = -1
274274

275275
favorites.forEachIndexed { index, path ->
276-
items.add(RadioItem(index, path, path))
276+
val visiblePath = humanizePath(path).replace("/", " / ")
277+
items.add(RadioItem(index, visiblePath, path))
277278
if (path == fragment.currentPath) {
278279
currFavoriteIndex = index
279280
}

0 commit comments

Comments
 (0)