Skip to content

Commit

Permalink
feat: Update image for notification #2929
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Oct 8, 2024
1 parent b55292c commit 0d098e0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/matrix_notification/view/notification_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,13 @@ class _NotificationViewState<B extends ChatRoomCubit>
),
),
if (message is ImageMessage)
Container(
alignment: Alignment.centerLeft,
height: 40,
width: 40,
SizedBox(
width: double.infinity,
child: MxcImage(
url: message.uri,
event: message.metadata!['event']
as Event,
fit: BoxFit.contain,
fit: BoxFit.fitWidth,
),
),
],
Expand Down

0 comments on commit 0d098e0

Please sign in to comment.