fix(ui): add 8 left padding to textInput if command is enabled.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user