Reset swiped view when moving an item
This commit is contained in:
parent
e17459f210
commit
97ec70a631
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue