fix: cooldown and teams, added correct textfield hint

This commit is contained in:
Deven Joshi
2021-08-18 15:45:46 +05:30
parent fd13d1089f
commit f28b6b61a0
9 changed files with 31 additions and 0 deletions
@@ -835,6 +835,10 @@ class MessageInputState extends State<MessageInput> {
if (_attachments.isNotEmpty) {
return context.translations.addACommentOrSendLabel;
}
if(_timeOut != 0 && _timeOut != null) {
return context.translations.slowModeOnLabel;
}
return context.translations.writeAMessageLabel;
}