chore: Follow up imagebubble borderradius

This commit is contained in:
Krille 2023-11-11 15:36:11 +01:00
commit cdc844a4c0
No known key found for this signature in database
3 changed files with 10 additions and 2 deletions

View file

@ -26,12 +26,14 @@ class MessageContent extends StatelessWidget {
final Event event;
final Color textColor;
final void Function(Event)? onInfoTab;
final BorderRadius borderRadius;
const MessageContent(
this.event, {
this.onInfoTab,
super.key,
required this.textColor,
required this.borderRadius,
});
void _verifyOrRequestKey(BuildContext context) async {
@ -111,6 +113,7 @@ class MessageContent extends StatelessWidget {
width: 400,
height: 300,
fit: BoxFit.cover,
borderRadius: borderRadius,
);
case MessageTypes.Sticker:
if (event.redacted) continue textmessage;