properly redraw the thumbnails at renaming an item
This commit is contained in:
parent
7302898826
commit
558dba3408
|
@ -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 New Issue