trim a slash from current path when going Back at the filepicker dialog
This commit is contained in:
parent
1df4b792fd
commit
853c79d138
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class FilePickerDialog(val activity: BaseSimpleActivity,
|
|||
val breadcrumbs = mDialogView.filepicker_breadcrumbs
|
||||
if (breadcrumbs.childCount > 1) {
|
||||
breadcrumbs.removeBreadcrumb()
|
||||
currPath = breadcrumbs.getLastItem().path
|
||||
currPath = breadcrumbs.getLastItem().path.trimEnd('/')
|
||||
tryUpdateItems()
|
||||
} else {
|
||||
mDialog.dismiss()
|
||||
|
|
Loading…
Reference in a new issue