mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
make the path at Favorite path picker nicer
This commit is contained in:
@@ -273,7 +273,8 @@ class MainActivity : SimpleActivity() {
|
|||||||
var currFavoriteIndex = -1
|
var currFavoriteIndex = -1
|
||||||
|
|
||||||
favorites.forEachIndexed { index, path ->
|
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) {
|
if (path == fragment.currentPath) {
|
||||||
currFavoriteIndex = index
|
currFavoriteIndex = index
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user