mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
fix (#5640)
This commit is contained in:
parent
e5c4230f97
commit
78a53fd40d
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ class ImageAdapter(
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
val entry = iterator.next()
|
val entry = iterator.next()
|
||||||
if (entry.value == image) {
|
if (entry.value == image) {
|
||||||
imagePositionAsPerIncreasingOrder -= 2
|
imagePositionAsPerIncreasingOrder -= 1
|
||||||
iterator.remove()
|
iterator.remove()
|
||||||
alreadyAddedPositions.removeAt(alreadyAddedPositions.size - 1)
|
alreadyAddedPositions.removeAt(alreadyAddedPositions.size - 1)
|
||||||
notifyItemRemoved(index)
|
notifyItemRemoved(index)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue