fix: the new mobile toolbar doesn't work if resizeToAvoidBottomInset is true (#593)
* fix: toolbar issues * fix: adjust the mobile toolbar when resizeToAvoidBottomInset is true
This commit is contained in:
parent
4345105ebe
commit
e665b67c0d
1 changed files with 158 additions and 73 deletions
|
|
@ -87,14 +87,15 @@ class _HomePageState extends State<HomePage> {
|
|||
key: _scaffoldKey,
|
||||
extendBodyBehindAppBar: PlatformExtension.isDesktopOrWeb,
|
||||
drawer: _buildDrawer(context),
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(
|
||||
backgroundColor: const Color.fromARGB(255, 134, 46, 247),
|
||||
foregroundColor: Colors.white,
|
||||
surfaceTintColor: Colors.transparent,
|
||||
title: const Text('AppFlowy Editor'),
|
||||
),
|
||||
body: _buildBody(context),
|
||||
body: SafeArea(
|
||||
child: _buildBody(context),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue