Skip to content

Commit

Permalink
fix: long click on deleted message (WPB-6290) (#2696)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreferris authored Feb 13, 2024
1 parent 71172b7 commit 2fb0e05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ fun MessageItem(
},
onLongClick = remember(message) {
{
if (!isContentClickable) {
if (!isContentClickable && !message.isDeleted) {
onLongClicked(message)
}
}
Expand Down

0 comments on commit 2fb0e05

Please sign in to comment.