mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
check 2 more parents if they contain a .nomedia file
This commit is contained in:
parent
6d806035ee
commit
a70ac7c825
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
|
|||
}
|
||||
}
|
||||
|
||||
if (File(parentDir).containsNoMedia()) {
|
||||
if (File(parentDir).containsNoMedia() || File(parentDir).parentFile?.containsNoMedia() == true || File(parentDir).parentFile?.parentFile?.containsNoMedia() == true) {
|
||||
dirName += " $hidden"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue