Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 853c79d1 authored by tibbi's avatar tibbi
Browse files

trim a slash from current path when going Back at the filepicker dialog

parent 1df4b792
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()