mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-03-16 11:30:12 +01:00
fix #61, properly show root folder content
This commit is contained in:
parent
9e3207f1bb
commit
333cacfd03
@ -79,7 +79,7 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br
|
||||
}
|
||||
|
||||
private fun openPath(path: String) {
|
||||
val realPath = path.trimEnd('/')
|
||||
val realPath = if (path.length > 1) path.trimEnd('/') else path
|
||||
breadcrumbs.setBreadcrumb(realPath)
|
||||
val bundle = Bundle()
|
||||
bundle.putString(PATH, realPath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user