Reset swiped view when moving an item

This commit is contained in:
cketti 2022-11-14 14:24:05 +01:00
parent e17459f210
commit 97ec70a631

View file

@ -1517,8 +1517,9 @@ class MessageListFragment :
onSpam(listOf(item.messageReference))
}
SwipeAction.Move -> {
notifyItemChanged(item)
onMove(item.messageReference)
val messageReference = item.messageReference
resetSwipedView(messageReference)
onMove(messageReference)
}
}
}