remove a file validity check at deleting from thumbnails view

This commit is contained in:
tibbi 2017-05-26 15:41:24 +02:00
parent 9b83fb2424
commit fa5a5651ad
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
}
override fun deleteFiles(files: ArrayList<File>) {
val filtered = files.filter { it.exists() && it.isImageVideoGif() } as ArrayList
val filtered = files.filter { it.isImageVideoGif() } as ArrayList
deleteFiles(filtered) {
if (!it) {
toast(R.string.unknown_error_occurred)