From aa8c66ad01a72bc85e511c0d23931857dca6f7e8 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Wed, 12 Jan 2022 16:42:28 -0500 Subject: [PATCH] Fix InkWell missing in portrait mode chat --- lib/screens/channel/video_chat.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/screens/channel/video_chat.dart b/lib/screens/channel/video_chat.dart index 82c8522a..01555186 100644 --- a/lib/screens/channel/video_chat.dart +++ b/lib/screens/channel/video_chat.dart @@ -37,12 +37,9 @@ class _VideoChatState extends State { ), ); - final chat = ColoredBox( - color: Theme.of(context).scaffoldBackgroundColor, - child: Chat( - key: GlobalKey(), - chatStore: chatStore, - ), + final chat = Chat( + key: GlobalKey(), + chatStore: chatStore, ); final appBar = AppBar( @@ -99,7 +96,10 @@ class _VideoChatState extends State { ), Flexible( flex: 1, - child: chat, + child: ColoredBox( + color: Theme.of(context).scaffoldBackgroundColor, + child: chat, + ), ), ], )