Skip to content

Commit

Permalink
hot-fix: fix image not change when change reply image message
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn authored and hoangdat committed Dec 14, 2023
1 parent c734321 commit 417fc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/chat/events/reply_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class ReplyContent extends StatelessWidget {
maxLines: 1,
room: displayEvent.room,
emoteSize: ReplyContentStyle.fontSizeDisplayContent * 1.5,
event: timeline!.events.first,
);
} else {
replyBody = Text(
Expand Down Expand Up @@ -89,6 +88,7 @@ class ReplyContent extends StatelessWidget {
child: ClipRRect(
borderRadius: ReplyContentStyle.previewedImageBorderRadius,
child: MxcImage(
key: ValueKey(displayEvent.eventId),
noResize: true,
event: displayEvent,
width: ReplyContentStyle.replyContentSize,
Expand Down

0 comments on commit 417fc17

Please sign in to comment.