mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:01:40 +00:00
Ensure the latest version of timelineItem is used. (other methods have been removed in #771)
This commit is contained in:
+1
-5
@@ -170,10 +170,6 @@ fun TimelineItemRow(
|
||||
onClick(timelineItem)
|
||||
}
|
||||
|
||||
fun onSwipeToReply() {
|
||||
onSwipeToReply(timelineItem)
|
||||
}
|
||||
|
||||
fun onLongClick() {
|
||||
onLongClick(timelineItem)
|
||||
}
|
||||
@@ -197,7 +193,7 @@ fun TimelineItemRow(
|
||||
inReplyToClick = inReplyToClick,
|
||||
onReactionClick = onReactionClick,
|
||||
onTimestampClicked = onTimestampClicked,
|
||||
onSwipeToReply = ::onSwipeToReply,
|
||||
onSwipeToReply = { onSwipeToReply(timelineItem) },
|
||||
modifier = modifier,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user