removed comments

This commit is contained in:
Deven Joshi
2021-08-20 16:10:48 +05:30
parent 6cf63fe3ca
commit feac07057a
@@ -536,36 +536,10 @@ class MessageInputState extends State<MessageInput> {
: _buildSendButton(context);
}
/*if (_timeOut == null || _timeOut == 0) {
sendButton = widget.activeSendButton != null
? InkWell(
onTap: sendMessage,
child: widget.activeSendButton,
)
: _buildSendButton(context);
} else {
sendButton = _CountdownButton(
count: _timeOut!,
);
}
if (!_messageIsPresent && _attachments.isEmpty) {
sendButton = widget.idleSendButton ?? _buildIdleSendButton(context);
}*/
return AnimatedSwitcher(
duration: _streamChatTheme.messageInputTheme.sendAnimationDuration!,
child: sendButton,
);
/*return AnimatedCrossFade(
crossFadeState: (_messageIsPresent || _attachments.isNotEmpty)
? CrossFadeState.showFirst
: CrossFadeState.showSecond,
firstChild: sendButton,
secondChild: widget.idleSendButton ?? _buildIdleSendButton(context),
duration: _messageInputTheme.sendAnimationDuration!,
alignment: Alignment.center,
);*/
}
Widget _buildExpandActionsButton(BuildContext context) {