fix(ui): add 8 left padding to textInput if command is enabled.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-08-23 17:33:48 +05:30
committed by xsahil03x
parent 9588daf683
commit 958ef8e9df
@@ -625,7 +625,7 @@ class MessageInputState extends State<MessageInput> {
final margin = (widget.sendButtonLocation == SendButtonLocation.inside
? const EdgeInsets.only(right: 8)
: EdgeInsets.zero) +
(widget.actionsLocation != ActionsLocation.left
(widget.actionsLocation != ActionsLocation.left || _commandEnabled
? const EdgeInsets.only(left: 8)
: EdgeInsets.zero);
return Expanded(