From 6d806035eed60020693b2113e8b51505597a443e Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 20 Feb 2018 19:56:30 +0100 Subject: [PATCH] scan invalid path at viewpager activity instead of deleting --- .../simplemobiletools/gallery/activities/ViewPagerActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt index 7fff7e8c4..b63add956 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt @@ -184,7 +184,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View if (!getDoesFilePathExist(mPath)) { Thread { - deleteFromMediaStore(mPath) + scanPath(mPath) }.start() finish() return