make the path at Favorite path picker nicer
This commit is contained in:
parent
c8e104d88d
commit
65bbe0602a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue