fix: Replace send with check for edit
This commit is contained in:
@@ -1027,7 +1027,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
sendMessage();
|
sendMessage();
|
||||||
},
|
},
|
||||||
child: Transform.rotate(
|
child: Transform.rotate(
|
||||||
angle: -pi / 2,
|
angle: widget.editMessage == null ? -pi / 2 : 0,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
widget.editMessage == null ? StreamIcons.send_message : StreamIcons.check,
|
widget.editMessage == null ? StreamIcons.send_message : StreamIcons.check,
|
||||||
color: StreamChatTheme.of(context).accentColor,
|
color: StreamChatTheme.of(context).accentColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user