Skip to content

Commit

Permalink
fix: long click on deleted message (WPB-6290) (#2702)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Ferris <[email protected]>
Co-authored-by: Mohamad Jaara <[email protected]>
  • Loading branch information
3 people authored Feb 14, 2024
1 parent d2559d6 commit 15bc6f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fun MessageItem(
},
onLongClick = remember(message) {
{
if (!isContentClickable) {
if (!isContentClickable && !message.isDeleted) {
onLongClicked(message)
}
}
Expand Down

0 comments on commit 15bc6f3

Please sign in to comment.