Change the double SafeArea for Linux.
This commit is contained in:
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user