From 2f15893cda7e2f059c358f4f72ba3b04fdf938a1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 29 Aug 2021 23:00:30 +0200 Subject: [PATCH] fix #1673, make sure the proper file opens at third party intents --- .../gallery/pro/activities/ViewPagerActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt index 8992d37f9..6aadafbd6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt @@ -1175,7 +1175,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View } } } - } else if (medium.path == mPath) { + } else if (medium.path.equals(mPath, true)) { return i } }