Fix for cropped screans

This commit is contained in:
Yegor Vialov
2020-05-29 16:35:34 +00:00
parent 90efb29be5
commit 78893ea01f

View File

@ -645,7 +645,10 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
bottomNavigationBar: BottomInfoBar( bottomNavigationBar: BottomInfoBar(
controller: _bottomInfoBarController, controller: _bottomInfoBarController,
), ),
body: _buildScaffoldBody(true) body: SafeArea(
top: false,
child: _buildScaffoldBody(true)
)
); );
} else { } else {
return Scaffold( return Scaffold(
@ -655,7 +658,10 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
bottomNavigationBar: BottomInfoBar( bottomNavigationBar: BottomInfoBar(
controller: _bottomInfoBarController, controller: _bottomInfoBarController,
), ),
body: _buildScaffoldBody(false) body: SafeArea(
top: false,
child: _buildScaffoldBody(false)
)
); );
} }
} }