forked from Nexus/nexus
parent
1380233f2e
commit
2f17f5b6c6
6 changed files with 116 additions and 17 deletions
|
|
@ -13,6 +13,7 @@ class const ChatTimeline({
|
|||
required final IList<PopupMenuEntry> Function(Event) getEventOptions,
|
||||
required final int? highlightedEvent,
|
||||
required final double composerHeight,
|
||||
final void Function(int rowId)? onSwipe,
|
||||
super.key,
|
||||
}) extends StatelessWidget {
|
||||
Widget eventRow(
|
||||
|
|
@ -26,6 +27,7 @@ class const ChatTimeline({
|
|||
roomId: roomId,
|
||||
jumpToEvent: jumpToEvent,
|
||||
getEventOptions: getEventOptions,
|
||||
onSwipe: onSwipe == null ? null : () => onSwipe!(eventRowId),
|
||||
),
|
||||
key: key,
|
||||
isHighlighted: highlightedEvent == eventRowId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue