From 0890e15bfb6001d699f959deaf5cb01d5d7451ff Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 21 Mar 2025 12:05:59 -0700 Subject: [PATCH] Change the double SafeArea for Linux. --- lib/pages/home.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/home.dart b/lib/pages/home.dart index 1b7a25d..26f53d3 100644 --- a/lib/pages/home.dart +++ b/lib/pages/home.dart @@ -140,7 +140,7 @@ class _HomePageState extends State { 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 { title: Text("Expense Tracker"), ), drawer: drawer, - body: SafeArea(child: body), + body: body, floatingActionButton: floatingButton, extendBody: false, extendBodyBehindAppBar: false,