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