mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
make sure theres no double slash at the beginning of exclude path, fix #183
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user