fix: React if not allowed

This commit is contained in:
Christian Pauly 2021-04-09 17:55:45 +02:00
parent 3eeb9a96e5
commit 0146767e8a
1 changed files with 1 additions and 0 deletions

View File

@ -947,6 +947,7 @@ class _ChatState extends State<Chat> {
duration: Duration(milliseconds: 300),
height: (editEvent == null &&
replyEvent == null &&
room.canSendDefaultMessages &&
selectedEvents.length == 1)
? 56
: 0,