mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
update currently displayed media hashcode if something gets deleted
This commit is contained in:
parent
ff4bca1251
commit
58a9150db0
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue