refactor: Not nullable room in ChatPage
This commit is contained in:
parent
217b952c45
commit
e690f1e14c
10 changed files with 102 additions and 95 deletions
|
|
@ -18,7 +18,7 @@ class ReactionsPicker extends StatelessWidget {
|
|||
if (controller.showEmojiPicker) return const SizedBox.shrink();
|
||||
final display = controller.editEvent == null &&
|
||||
controller.replyEvent == null &&
|
||||
controller.room!.canSendDefaultMessages &&
|
||||
controller.room.canSendDefaultMessages &&
|
||||
controller.selectedEvents.isNotEmpty;
|
||||
return AnimatedContainer(
|
||||
duration: FluffyThemes.animationDuration,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue