mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
fix #61, properly show root folder content
This commit is contained in:
@ -79,7 +79,7 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun openPath(path: String) {
|
private fun openPath(path: String) {
|
||||||
val realPath = path.trimEnd('/')
|
val realPath = if (path.length > 1) path.trimEnd('/') else path
|
||||||
breadcrumbs.setBreadcrumb(realPath)
|
breadcrumbs.setBreadcrumb(realPath)
|
||||||
val bundle = Bundle()
|
val bundle = Bundle()
|
||||||
bundle.putString(PATH, realPath)
|
bundle.putString(PATH, realPath)
|
||||||
|
Reference in New Issue
Block a user