feat: Cute animation for hiding the + button in inputbar

This commit is contained in:
Christian Pauly 2021-05-20 13:33:06 +02:00
commit b108ead87b
2 changed files with 56 additions and 59 deletions

View file

@ -652,10 +652,7 @@ class ChatController extends State<Chat> {
room.sendTypingNotification(true,
timeout: Duration(seconds: 30).inMilliseconds);
}
// Workaround for a current desktop bug
if (!PlatformInfos.isBetaDesktop) {
setState(() => inputText = text);
}
setState(() => inputText = text);
}
void cancelReplyEventAction() => setState(() {