avoid calling a redundant click on portrait images

This commit is contained in:
tibbi 2019-10-02 23:11:25 +02:00
parent 17003c6ab1
commit 1dbe82e074

View file

@ -38,7 +38,6 @@ class PortraitPhotosAdapter(val context: Context, val photos: ArrayList<String>,
if (currentSelectionIndex != position) {
currentSelectionIndex = position
notifyDataSetChanged()
views[position]?.performClick()
}
}