mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-01 19:18:18 +01:00
make nomedia check recursive at DirectoryAdapter
This commit is contained in:
parent
fbe962d12e
commit
1a163ce56a
@ -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 New Issue
Block a user