Fix InkWell missing in portrait mode chat

This commit is contained in:
Tommy Chow 2022-01-12 16:42:28 -05:00
parent 3b6b9dc638
commit aa8c66ad01

View file

@ -37,12 +37,9 @@ class _VideoChatState extends State<VideoChat> {
),
);
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<VideoChat> {
),
Flexible(
flex: 1,
child: chat,
child: ColoredBox(
color: Theme.of(context).scaffoldBackgroundColor,
child: chat,
),
),
],
)