fix(ui): Remove FittedBox from actions widget.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -604,8 +604,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
!widget.showCommandsButton &&
|
!widget.showCommandsButton &&
|
||||||
widget.actions?.isNotEmpty != true
|
widget.actions?.isNotEmpty != true
|
||||||
? const Offstage()
|
? const Offstage()
|
||||||
: FittedBox(
|
: Row(
|
||||||
child: Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
if (!widget.disableAttachments)
|
if (!widget.disableAttachments)
|
||||||
@@ -618,7 +617,6 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
...widget.actions ?? [],
|
...widget.actions ?? [],
|
||||||
].insertBetween(const SizedBox(width: 8)),
|
].insertBetween(const SizedBox(width: 8)),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
duration: const Duration(milliseconds: 300),
|
duration: const Duration(milliseconds: 300),
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user