fix: cropped sticker

This commit is contained in:
Sorunome 2021-07-23 20:31:37 +02:00
parent 5fe0289c96
commit a4ec2a09a2
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class MessageContent extends StatelessWidget {
event,
width: 400,
height: 400 / ratio,
fit: event.messageType == MessageTypes.Sticker && ratio < 1.0
fit: event.messageType == MessageTypes.Sticker && ratio <= 1.0
? BoxFit.contain
: BoxFit.cover,
);