update currently displayed media hashcode if something gets deleted

This commit is contained in:
tibbi 2021-01-20 22:49:45 +01:00
parent ff4bca1251
commit 58a9150db0

View file

@ -440,6 +440,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: ArrayList<ThumbnailI
media.removeAll(removeMedia) media.removeAll(removeMedia)
listener?.tryDeleteFiles(fileDirItems) listener?.tryDeleteFiles(fileDirItems)
removeSelectedItems(positions) removeSelectedItems(positions)
currentMediaHash = media.hashCode()
} }
} }