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));
|
||||
ref.read(EmojiController.provider);
|
||||
|
||||
return Scaffold(
|
||||
return SafeArea(
|
||||
child: Scaffold(
|
||||
appBar: initComplete ? null : Appbar(),
|
||||
body: initComplete
|
||||
? Row(
|
||||
|
|
@ -44,6 +45,7 @@ class ChatPage extends ConsumerWidget {
|
|||
drawer: isDesktop || !initComplete
|
||||
? null
|
||||
: Sidebar(isDesktop: isDesktop),
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue