mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 13:05:11 +00:00
fix: message bubble position on desktop devices
Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
parent
bac4dd22ad
commit
ed16bdb1ff
1 changed files with 24 additions and 22 deletions
|
@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue