mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-03 05:56:21 -05:00
make the path at Favorite path picker nicer
This commit is contained in:
@@ -273,7 +273,8 @@ class MainActivity : SimpleActivity() {
|
||||
var currFavoriteIndex = -1
|
||||
|
||||
favorites.forEachIndexed { index, path ->
|
||||
items.add(RadioItem(index, path, path))
|
||||
val visiblePath = humanizePath(path).replace("/", " / ")
|
||||
items.add(RadioItem(index, visiblePath, path))
|
||||
if (path == fragment.currentPath) {
|
||||
currFavoriteIndex = index
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user