fix: Disable giphy button when editing, change close icon
This commit is contained in:
@@ -205,7 +205,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
children: [
|
||||||
if (!widget.disableAttachments) _buildAttachmentButton(),
|
if (!widget.disableAttachments) _buildAttachmentButton(),
|
||||||
if (widget.editMessage != null) _buildGiphyButton(),
|
if (widget.editMessage == null) _buildGiphyButton(),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
if (widget.actionsLocation == ActionsLocation.left)
|
if (widget.actionsLocation == ActionsLocation.left)
|
||||||
|
|||||||
Reference in New Issue
Block a user