fix: Disable giphy button when editing, change close icon

This commit is contained in:
Deven Joshi
2020-10-19 13:48:05 +05:30
parent 6998d4e9cc
commit f33a4ba1f4
+1 -1
View File
@@ -205,7 +205,7 @@ class MessageInputState extends State<MessageInput> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
if (!widget.disableAttachments) _buildAttachmentButton(),
if (widget.editMessage != null) _buildGiphyButton(),
if (widget.editMessage == null) _buildGiphyButton(),
],
),
if (widget.actionsLocation == ActionsLocation.left)