Commit 6fe37c6d authored by Wilko Manger's avatar Wilko Manger

Use different way of centering MessageState

parent 33ee7af4
......@@ -327,14 +327,13 @@ class MessageInfo extends StatelessWidget {
return Row(
mainAxisAlignment: MainAxisAlignment.end,
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
if (MessageState.necessary(bubble.message)) ...[
Center(
child: MessageState(
message: bubble.message,
color: Colors.white,
size: 14,
),
MessageState(
message: bubble.message,
color: Colors.white,
size: 14,
),
SizedBox(width: 4),
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment