Skip to content

Commit 4f4c82f

Browse files
Albert LoAlbert Lo
Albert Lo
authored and
Albert Lo
committed
Pull Request daimajia#123
1 parent 10f8423 commit 4f4c82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/daimajia/swipe/implments/SwipeItemMangerImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class SwipeMemory extends SimpleSwipeListener {
185185
public void onClose(SwipeLayout layout) {
186186
if (mode == Attributes.Mode.Multiple) {
187187
mOpenPositions.remove(position);
188-
} else {
188+
} else if(position == mOpenPosition) {
189189
mOpenPosition = INVALID_POSITION;
190190
}
191191
}

0 commit comments

Comments
 (0)