mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-18 13:00:36 +01:00
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…
x
Reference in New Issue
Block a user