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
1 changed files with 1 additions and 0 deletions

View File

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