one minor style change

This commit is contained in:
tibbi 2016-11-17 14:00:58 +01:00
parent c525a0ebc7
commit 8c57a00947
1 changed files with 1 additions and 2 deletions

View File

@ -126,8 +126,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
val dir = File(d.path)
if (dir.exists() && dir.isDirectory) {
val res = dir.list { file, filename -> filename == ".nomedia" }
if (res != null && res.size > 0)
if (res?.isNotEmpty() == true)
ignoreDirs.add(d)
}
}