Compare commits

...

2 Commits

2 changed files with 11 additions and 3 deletions

View File

@ -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,
);
});
}

View File

@ -13,6 +13,10 @@ class SettingsPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Placeholder();
return Center(
child: Text(
"No settings yet. :)",
),
);
}
}