mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
fix: cropped sticker
This commit is contained in:
parent
5fe0289c96
commit
a4ec2a09a2
@ -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,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user