mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-09-18 18:50:41 -04:00
fix #61, properly show root folder content
This commit is contained in:
1 parent
9e3207f1bb
commit
333cacfd03
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user