properly redraw the thumbnails at renaming an item

This commit is contained in:
tibbi 2017-05-20 23:01:07 +02:00
parent 7302898826
commit 558dba3408
1 changed files with 1 additions and 1 deletions

View File

@ -164,8 +164,8 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList<Medium>,
private fun renameFile() {
RenameItemDialog(activity, getCurrentFile().absolutePath) {
listener?.refreshItems()
activity.runOnUiThread {
listener?.refreshItems()
actMode?.finish()
}
}