mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fixing a glitch at caching nomedia folders
This commit is contained in:
parent
876e10a202
commit
9ff50cc48a
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ fun Context.getCachedDirectories(getVideosOnly: Boolean = false, getImagesOnly:
|
||||||
val folderNoMediaStatuses = HashMap<String, Boolean>()
|
val folderNoMediaStatuses = HashMap<String, Boolean>()
|
||||||
val noMediaFolders = getNoMediaFoldersSync()
|
val noMediaFolders = getNoMediaFoldersSync()
|
||||||
noMediaFolders.forEach { folder ->
|
noMediaFolders.forEach { folder ->
|
||||||
folderNoMediaStatuses[folder] = true
|
folderNoMediaStatuses["$folder/.nomedia"] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
var filteredDirectories = directories.filter {
|
var filteredDirectories = directories.filter {
|
||||||
|
|
Loading…
Reference in a new issue