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

View File

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