mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
properly redraw the thumbnails at renaming an item
This commit is contained in:
parent
7302898826
commit
558dba3408
1 changed files with 1 additions and 1 deletions
|
@ -164,8 +164,8 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList<Medium>,
|
||||||
|
|
||||||
private fun renameFile() {
|
private fun renameFile() {
|
||||||
RenameItemDialog(activity, getCurrentFile().absolutePath) {
|
RenameItemDialog(activity, getCurrentFile().absolutePath) {
|
||||||
listener?.refreshItems()
|
|
||||||
activity.runOnUiThread {
|
activity.runOnUiThread {
|
||||||
|
listener?.refreshItems()
|
||||||
actMode?.finish()
|
actMode?.finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue