Change the double SafeArea for Linux.

This commit is contained in:
Hyperling 2025-03-21 12:05:59 -07:00
parent 55fd4092ac
commit 0890e15bfb

@ -140,7 +140,7 @@ class _HomePageState extends State<HomePage> {
Widget body;
if (Platform.isAndroid || Platform.isIOS) {
drawer = navigation;
body = main;
body = SafeArea(child: main);
} else {
drawer = null;
body = Row(
@ -157,7 +157,7 @@ class _HomePageState extends State<HomePage> {
title: Text("Expense Tracker"),
),
drawer: drawer,
body: SafeArea(child: body),
body: body,
floatingActionButton: floatingButton,
extendBody: false,
extendBodyBehindAppBar: false,