Compare commits

..

No commits in common. "55fd4092ac097af3a59b29ac2a76c193c9094319" and "d604a59ad1fafbf247a039dae077cb496d6481ad" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

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

View File

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