mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
properly allow excluding or including the root folder
This commit is contained in:
parent
619647b16a
commit
b1c1d131d9
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isP
|
|||
val config = context.config
|
||||
val filterMedia = config.filterMedia
|
||||
val showHidden = config.shouldShowHidden
|
||||
val includedFolders = config.includedFolders.map { "$it/" }
|
||||
val excludedFolders = config.excludedFolders.map { "$it/" }
|
||||
val includedFolders = config.includedFolders.map { "${it.trimEnd('/')}/" }
|
||||
val excludedFolders = config.excludedFolders.map { "${it.trimEnd('/')}/" }
|
||||
val noMediaFolders = context.getNoMediaFolders()
|
||||
val isThirdPartyIntent = config.isThirdPartyIntent
|
||||
|
||||
|
|
Loading…
Reference in a new issue