fixing a glitch at caching nomedia folders

This commit is contained in:
tibbi 2021-01-18 12:40:39 +01:00
parent 876e10a202
commit 9ff50cc48a
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ fun Context.getCachedDirectories(getVideosOnly: Boolean = false, getImagesOnly:
val folderNoMediaStatuses = HashMap<String, Boolean>()
val noMediaFolders = getNoMediaFoldersSync()
noMediaFolders.forEach { folder ->
folderNoMediaStatuses[folder] = true
folderNoMediaStatuses["$folder/.nomedia"] = true
}
var filteredDirectories = directories.filter {