properly allow excluding or including the root folder
This commit is contained in:
parent
619647b16a
commit
b1c1d131d9
|
@ -71,8 +71,8 @@ private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isP
|
||||||
val config = context.config
|
val config = context.config
|
||||||
val filterMedia = config.filterMedia
|
val filterMedia = config.filterMedia
|
||||||
val showHidden = config.shouldShowHidden
|
val showHidden = config.shouldShowHidden
|
||||||
val includedFolders = config.includedFolders.map { "$it/" }
|
val includedFolders = config.includedFolders.map { "${it.trimEnd('/')}/" }
|
||||||
val excludedFolders = config.excludedFolders.map { "$it/" }
|
val excludedFolders = config.excludedFolders.map { "${it.trimEnd('/')}/" }
|
||||||
val noMediaFolders = context.getNoMediaFolders()
|
val noMediaFolders = context.getNoMediaFolders()
|
||||||
val isThirdPartyIntent = config.isThirdPartyIntent
|
val isThirdPartyIntent = config.isThirdPartyIntent
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue