one minor style change
This commit is contained in:
parent
c525a0ebc7
commit
8c57a00947
|
@ -126,8 +126,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
|
||||||
val dir = File(d.path)
|
val dir = File(d.path)
|
||||||
if (dir.exists() && dir.isDirectory) {
|
if (dir.exists() && dir.isDirectory) {
|
||||||
val res = dir.list { file, filename -> filename == ".nomedia" }
|
val res = dir.list { file, filename -> filename == ".nomedia" }
|
||||||
|
if (res?.isNotEmpty() == true)
|
||||||
if (res != null && res.size > 0)
|
|
||||||
ignoreDirs.add(d)
|
ignoreDirs.add(d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue