make sure theres no double slash at the beginning of exclude path, fix #183
This commit is contained in:
parent
a6e62ddc1b
commit
74af90eaa6
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ class ExcludeFolderDialog(val activity: SimpleActivity, val selectedPaths: List<
|
|||
return pathsList
|
||||
|
||||
pathsList.add(basePath)
|
||||
if (basePath == "/")
|
||||
basePath = ""
|
||||
|
||||
for (part in parts) {
|
||||
basePath += "/$part"
|
||||
pathsList.add(basePath)
|
||||
|
|
Loading…
Reference in a new issue