fix: message bubble position on desktop devices

Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
The one with the braid 2023-11-30 19:14:42 +01:00
parent bac4dd22ad
commit ed16bdb1ff

View file

@ -368,7 +368,8 @@ class Message extends StatelessWidget {
container = Opacity(opacity: 0.4, child: container);
}
return Swipeable(
return Center(
child: Swipeable(
key: ValueKey(event.eventId),
background: const Padding(
padding: EdgeInsets.symmetric(horizontal: 12.0),
@ -394,6 +395,7 @@ class Message extends StatelessWidget {
child: container,
),
),
),
);
}
}