Prevent the Help buttons from being underneath the Nav Bar on Android.

This commit is contained in:
Hyperling 2025-03-21 12:05:03 -07:00
parent 247b88daa2
commit 55fd4092ac

@ -136,7 +136,8 @@ class _HomePageState extends State<HomePage> {
child: Center(child: page),
);
Widget? drawer, body;
Widget? drawer;
Widget body;
if (Platform.isAndroid || Platform.isIOS) {
drawer = navigation;
body = main;
@ -156,8 +157,11 @@ class _HomePageState extends State<HomePage> {
title: Text("Expense Tracker"),
),
drawer: drawer,
body: body,
body: SafeArea(child: body),
floatingActionButton: floatingButton,
extendBody: false,
extendBodyBehindAppBar: false,
resizeToAvoidBottomInset: true,
);
});
}