From 06530e78b8c3567f617cadd068afb581f6b81434 Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Wed, 7 Jun 2017 09:27:45 +0200 Subject: [PATCH] recheck media 1 second after refreshing too --- .../com/simplemobiletools/gallery/activities/MediaActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index 3892816ff..fb254a7f6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -427,6 +427,9 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { override fun refreshItems() { getMedia() + Handler().postDelayed({ + getMedia() + }, 1000) } override fun itemLongClicked(position: Int) {