mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 08:18:00 +01:00
refresh items instantly after renaming
This commit is contained in:
parent
d5c7a5a8ca
commit
50ee6d5abb
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Medium>,
|
||||||
activity.updateDBMediaPath(oldPath, it)
|
activity.updateDBMediaPath(oldPath, it)
|
||||||
}.start()
|
}.start()
|
||||||
|
|
||||||
|
enableInstantLoad()
|
||||||
activity.runOnUiThread {
|
activity.runOnUiThread {
|
||||||
listener?.refreshItems()
|
listener?.refreshItems()
|
||||||
finishActMode()
|
finishActMode()
|
||||||
|
|
Loading…
Reference in a new issue