fix: cropped sticker
This commit is contained in:
parent
d5de2c3ced
commit
263e3f433e
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class MessageContent extends StatelessWidget {
|
||||||
event,
|
event,
|
||||||
width: 400,
|
width: 400,
|
||||||
height: 400 / ratio,
|
height: 400 / ratio,
|
||||||
fit: event.messageType == MessageTypes.Sticker && ratio < 1.0
|
fit: event.messageType == MessageTypes.Sticker && ratio <= 1.0
|
||||||
? BoxFit.contain
|
? BoxFit.contain
|
||||||
: BoxFit.cover,
|
: BoxFit.cover,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue