mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
avoid calling a redundant click on portrait images
This commit is contained in:
@ -38,7 +38,6 @@ class PortraitPhotosAdapter(val context: Context, val photos: ArrayList<String>,
|
|||||||
if (currentSelectionIndex != position) {
|
if (currentSelectionIndex != position) {
|
||||||
currentSelectionIndex = position
|
currentSelectionIndex = position
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
views[position]?.performClick()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user