Skip to content

Commit

Permalink
hot-fix: remove unused event in HtmlMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn authored and hoangdat committed Dec 14, 2023
1 parent bbd9a08 commit 08169af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/pages/chat/events/html_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class HtmlMessage extends StatelessWidget {
final String html;
final int? maxLines;
final Room room;
final Event event;
final TextStyle? defaultTextStyle;
final TextStyle? linkStyle;
final double? emoteSize;
Expand All @@ -26,7 +25,6 @@ class HtmlMessage extends StatelessWidget {
const HtmlMessage({
Key? key,
required this.html,
required this.event,
this.maxLines,
required this.room,
this.defaultTextStyle,
Expand Down
1 change: 0 additions & 1 deletion lib/pages/chat/events/message_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ class MessageContent extends StatelessWidget
return Padding(
padding: const EdgeInsets.only(left: 8.0, right: 8.0),
child: HtmlMessage(
event: event,
html: html,
defaultTextStyle: Theme.of(context).textTheme.bodyLarge,
linkStyle: TextStyle(
Expand Down

0 comments on commit 08169af

Please sign in to comment.