Fix long press referencing old comment

pull/3224/head
Alex Baker 11 months ago
parent d09e013ac0
commit 7649e59203

@ -66,7 +66,7 @@ fun Comment(
modifier = Modifier modifier = Modifier
.weight(1f) .weight(1f)
.padding(top = 8.dp) .padding(top = 8.dp)
.pointerInput(Unit) { .pointerInput(comment) {
detectTapGestures(onLongPress = { detectTapGestures(onLongPress = {
comment.message?.let(copyCommentToClipboard) comment.message?.let(copyCommentToClipboard)
}) })

Loading…
Cancel
Save