mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
remove a file validity check at deleting from thumbnails view
This commit is contained in:
parent
9b83fb2424
commit
fa5a5651ad
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue