mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
Merge branch 'soru/fix-cropped-sticker' into 'main'
fix: cropped sticker See merge request famedly/fluffychat!454
This commit is contained in:
commit
e63f477d96
@ -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