wrap chat page in a safearea
This commit is contained in:
parent
7992f0e815
commit
a9ac891ec4
1 changed files with 23 additions and 21 deletions
|
|
@ -20,7 +20,8 @@ class ChatPage extends ConsumerWidget {
|
||||||
final roomId = ref.watch(KeyController.provider(KeyController.roomKey));
|
final roomId = ref.watch(KeyController.provider(KeyController.roomKey));
|
||||||
ref.read(EmojiController.provider);
|
ref.read(EmojiController.provider);
|
||||||
|
|
||||||
return Scaffold(
|
return SafeArea(
|
||||||
|
child: Scaffold(
|
||||||
appBar: initComplete ? null : Appbar(),
|
appBar: initComplete ? null : Appbar(),
|
||||||
body: initComplete
|
body: initComplete
|
||||||
? Row(
|
? Row(
|
||||||
|
|
@ -44,6 +45,7 @@ class ChatPage extends ConsumerWidget {
|
||||||
drawer: isDesktop || !initComplete
|
drawer: isDesktop || !initComplete
|
||||||
? null
|
? null
|
||||||
: Sidebar(isDesktop: isDesktop),
|
: Sidebar(isDesktop: isDesktop),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue