Ensure the latest version of timelineItem is used. (other methods have been removed in #771)
This commit is contained in:
parent
26a01c05f2
commit
c210f1c219
1 changed files with 1 additions and 5 deletions
|
|
@ -170,10 +170,6 @@ fun TimelineItemRow(
|
||||||
onClick(timelineItem)
|
onClick(timelineItem)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun onSwipeToReply() {
|
|
||||||
onSwipeToReply(timelineItem)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun onLongClick() {
|
fun onLongClick() {
|
||||||
onLongClick(timelineItem)
|
onLongClick(timelineItem)
|
||||||
}
|
}
|
||||||
|
|
@ -197,7 +193,7 @@ fun TimelineItemRow(
|
||||||
inReplyToClick = inReplyToClick,
|
inReplyToClick = inReplyToClick,
|
||||||
onReactionClick = onReactionClick,
|
onReactionClick = onReactionClick,
|
||||||
onTimestampClicked = onTimestampClicked,
|
onTimestampClicked = onTimestampClicked,
|
||||||
onSwipeToReply = ::onSwipeToReply,
|
onSwipeToReply = { onSwipeToReply(timelineItem) },
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue