From 50ee6d5abb8a81dfcacb31ec26e7406bc8e45981 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 13 May 2018 21:23:11 +0200 Subject: [PATCH] refresh items instantly after renaming --- .../com/simplemobiletools/gallery/adapters/MediaAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt index 6ec69c961..41a55951c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt @@ -154,6 +154,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList, activity.updateDBMediaPath(oldPath, it) }.start() + enableInstantLoad() activity.runOnUiThread { listener?.refreshItems() finishActMode()