chore: Follow up imagebubble borderradius
This commit is contained in:
parent
0aaee82ec7
commit
cdc844a4c0
3 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue