fix: fix deletedBottomRowBuilder.
Signed-off-by: xsahil03x <xdsahil@gmail.com>
This commit is contained in:
@@ -108,8 +108,16 @@ class _ChannelPageState extends State<ChannelPage> {
|
||||
Routes.CHANNEL_PAGE.queryParams(message),
|
||||
);
|
||||
},
|
||||
bottomRowBuilderWithDefaultWidget: (context, message, _) {
|
||||
return const StreamVisibleFootnote();
|
||||
bottomRowBuilderWithDefaultWidget: (
|
||||
context,
|
||||
message,
|
||||
defaultWidget,
|
||||
) {
|
||||
return defaultWidget.copyWith(
|
||||
deletedBottomRowBuilder: (context, message) {
|
||||
return const StreamVisibleFootnote();
|
||||
},
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
|
||||
@@ -64,8 +64,16 @@ class _ThreadPageState extends State<ThreadPage> {
|
||||
messageBuilder: (context, details, messages, defaultMessage) {
|
||||
return defaultMessage.copyWith(
|
||||
onReplyTap: _reply,
|
||||
bottomRowBuilderWithDefaultWidget: (context, message, _) {
|
||||
return const StreamVisibleFootnote();
|
||||
bottomRowBuilderWithDefaultWidget: (
|
||||
context,
|
||||
message,
|
||||
defaultWidget,
|
||||
) {
|
||||
return defaultWidget.copyWith(
|
||||
deletedBottomRowBuilder: (context, message) {
|
||||
return const StreamVisibleFootnote();
|
||||
},
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user