From 1dbe82e0748b3d34f2073cfc9602c26dd641cc1b Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 2 Oct 2019 23:11:25 +0200 Subject: [PATCH] avoid calling a redundant click on portrait images --- .../gallery/pro/adapters/PortraitPhotosAdapter.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/PortraitPhotosAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/PortraitPhotosAdapter.kt index 7bf330e1c..950e4edf7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/PortraitPhotosAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/PortraitPhotosAdapter.kt @@ -38,7 +38,6 @@ class PortraitPhotosAdapter(val context: Context, val photos: ArrayList, if (currentSelectionIndex != position) { currentSelectionIndex = position notifyDataSetChanged() - views[position]?.performClick() } }