mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
do now show the old folder after renaming
This commit is contained in:
parent
e319bb1623
commit
4a2d8076d0
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
|
|||
}
|
||||
|
||||
context.scanFiles(invalidFiles) {}
|
||||
val dirs = ArrayList(directories.values)
|
||||
val dirs = ArrayList(directories.values.filter { File(it.path).exists() })
|
||||
|
||||
filterDirectories(dirs)
|
||||
Directory.sorting = mConfig.directorySorting
|
||||
dirs.sort()
|
||||
|
|
Loading…
Reference in a new issue