Sync update: 2026-05-18 16:24:26

This commit is contained in:
Hamza-Ayed
2026-05-18 16:24:26 +03:00
parent 905819a1d5
commit f2a14ce23e
3 changed files with 17 additions and 5 deletions

View File

@@ -222,11 +222,13 @@ class _InteractiveMediaWidgetState extends State<InteractiveMediaWidget> {
if (widget.message.type == "image" || widget.message.type == "sticker") {
return ClipRRect(
borderRadius: BorderRadius.circular(8),
child: Image.memory(
bytes,
fit: BoxFit.cover,
maxHeight: 250,
width: double.infinity,
child: ConstrainedBox(
constraints: const BoxConstraints(maxHeight: 250),
child: Image.memory(
bytes,
fit: BoxFit.cover,
width: double.infinity,
),
),
);
}