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

View file

@ -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 {