fixing a glitch with some folders being invisible
This commit is contained in:
parent
7fe0f2fe0d
commit
73b1d2147e
1 changed files with 0 additions and 1 deletions
|
@ -74,7 +74,6 @@ class MediaFetcher(val context: Context) {
|
||||||
val distinctPaths = folders.distinctBy {
|
val distinctPaths = folders.distinctBy {
|
||||||
when {
|
when {
|
||||||
distinctPathsMap.containsKey(it) -> distinctPathsMap[it]
|
distinctPathsMap.containsKey(it) -> distinctPathsMap[it]
|
||||||
distinctPathsMap.contains(it.getParentPath()) -> distinctPathsMap[it.getParentPath()]
|
|
||||||
else -> {
|
else -> {
|
||||||
val distinct = it.getDistinctPath()
|
val distinct = it.getDistinctPath()
|
||||||
distinctPathsMap[it.getParentPath()] = distinct.getParentPath()
|
distinctPathsMap[it.getParentPath()] = distinct.getParentPath()
|
||||||
|
|
Loading…
Reference in a new issue