We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5c4230 commit 78a53fdCopy full SHA for 78a53fd
app/src/main/java/fr/free/nrw/commons/customselector/ui/adapter/ImageAdapter.kt
@@ -398,7 +398,7 @@ class ImageAdapter(
398
while (iterator.hasNext()) {
399
val entry = iterator.next()
400
if (entry.value == image) {
401
- imagePositionAsPerIncreasingOrder -= 2
+ imagePositionAsPerIncreasingOrder -= 1
402
iterator.remove()
403
alreadyAddedPositions.removeAt(alreadyAddedPositions.size - 1)
404
notifyItemRemoved(index)
0 commit comments