make nomedia check recursive at DirectoryAdapter
This commit is contained in:
parent
fbe962d12e
commit
1a163ce56a
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
|
|||
var hiddenCnt = 0
|
||||
var unhiddenCnt = 0
|
||||
selectedPositions.mapNotNull { dirs.getOrNull(it)?.path }.forEach {
|
||||
if (File(it).containsNoMedia()) {
|
||||
if (File(it).doesThisOrParentHaveNoMedia()) {
|
||||
hiddenCnt++
|
||||
} else {
|
||||
unhiddenCnt++
|
||||
|
|
Loading…
Reference in a new issue