mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
remove an isphotovideo check
This commit is contained in:
parent
dd47759014
commit
7658651ebf
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class MainActivity : SimpleActivity(), GetDirectoriesAsynctask.GetDirectoriesLis
|
||||||
for (delPath in mToBeDeleted) {
|
for (delPath in mToBeDeleted) {
|
||||||
val dir = File(delPath)
|
val dir = File(delPath)
|
||||||
if (dir.exists()) {
|
if (dir.exists()) {
|
||||||
val files = dir.listFiles().filter(File::isPhotoVideo)
|
val files = dir.listFiles()
|
||||||
files.forEach {
|
files.forEach {
|
||||||
if (it.isFile && it.isPhotoVideo()) {
|
if (it.isFile && it.isPhotoVideo()) {
|
||||||
updatedFiles.add(it)
|
updatedFiles.add(it)
|
||||||
|
|
Loading…
Reference in a new issue