From c7f504fb444851fc40bad0ad36d660653938aeee Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 25 May 2020 22:42:05 +1000 Subject: [PATCH] Hide icons for functionality that doesn't really exist yet --- lib/main.dart | 7 +++++-- lib/widget/drawer.dart | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index f8c2762f..3609ed6b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -254,7 +254,7 @@ class _MyHomePageState extends State { // in the middle of the parent. child: Column( mainAxisAlignment: MainAxisAlignment.center, - children: [ + children: ([ Spacer(), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, @@ -308,6 +308,8 @@ class _MyHomePageState extends State { ], ), Spacer(), + // TODO - Re-add these when the features actually do something.. + /* Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ @@ -402,7 +404,8 @@ class _MyHomePageState extends State { ), ], ), - ], + */ + ]), ), ), ); diff --git a/lib/widget/drawer.dart b/lib/widget/drawer.dart index 54d99e62..8565a1d4 100644 --- a/lib/widget/drawer.dart +++ b/lib/widget/drawer.dart @@ -133,6 +133,7 @@ class InvenTreeDrawer extends StatelessWidget { leading: new FaIcon(FontAwesomeIcons.boxes), onTap: _showStock, ), + /* new ListTile( title: new Text("Suppliers"), leading: new FaIcon(FontAwesomeIcons.building), @@ -148,6 +149,7 @@ class InvenTreeDrawer extends StatelessWidget { leading: new FaIcon(FontAwesomeIcons.users), onTap: _showCustomers, ), + */ new Divider(), new ListTile( title: new Text("Settings"),