This commit is contained in:
Deven Joshi
2021-05-06 14:05:50 +05:30
parent 5e3585acdd
commit ba1ab4aed8
@@ -476,7 +476,6 @@ class MessageInputState extends State<MessageInput> {
firstChild: IconButton( firstChild: IconButton(
onPressed: () => setState(() => _actionsShrunk = false), onPressed: () => setState(() => _actionsShrunk = false),
icon: Transform.rotate( icon: Transform.rotate(
alignment: Alignment.center,
angle: (widget.actionsLocation == ActionsLocation.right || angle: (widget.actionsLocation == ActionsLocation.right ||
widget.actionsLocation == ActionsLocation.rightInside) widget.actionsLocation == ActionsLocation.rightInside)
? pi ? pi
@@ -500,7 +499,6 @@ class MessageInputState extends State<MessageInput> {
? const Offstage() ? const Offstage()
: FittedBox( : FittedBox(
child: Row( child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
if (!widget.disableAttachments) _buildAttachmentButton(), if (!widget.disableAttachments) _buildAttachmentButton(),