Skip to content

Commit

Permalink
remove resizeToAvoidBottomInset: false in index.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed Nov 13, 2023
1 parent 9f601dd commit d92449e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@ class _MainStagePageState extends State<MainStagePage> {
if (context.isPortrait) {
final isKeyboardOpen = MediaQuery.of(context).viewInsets.bottom != 0.0;
return Scaffold(
resizeToAvoidBottomInset: false,
body: widget.navigationShell,
bottomNavigationBar: isKeyboardOpen ? null : buildButtonNavigationBar(),
);
} else {
return Scaffold(
resizeToAvoidBottomInset: false,
body: [
buildNavigationRail(),
const VerticalDivider(),
Expand Down

0 comments on commit d92449e

Please sign in to comment.