fix: Disable giphy button when editing, change close icon

This commit is contained in:
Deven Joshi
2020-10-19 13:45:43 +05:30
parent 3d68da4e78
commit 6998d4e9cc
2 changed files with 10 additions and 31 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ class MessageInputState extends State<MessageInput> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
if (!widget.disableAttachments) _buildAttachmentButton(),
_buildGiphyButton(),
if (widget.editMessage != null) _buildGiphyButton(),
],
),
if (widget.actionsLocation == ActionsLocation.left)