2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

Hide icons for functionality that doesn't really exist yet

This commit is contained in:
Oliver Walters 2020-05-25 22:42:05 +10:00
parent 393863957e
commit c7f504fb44
2 changed files with 7 additions and 2 deletions

View File

@ -254,7 +254,7 @@ class _MyHomePageState extends State<MyHomePage> {
// in the middle of the parent. // in the middle of the parent.
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: (<Widget>[
Spacer(), Spacer(),
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
@ -308,6 +308,8 @@ class _MyHomePageState extends State<MyHomePage> {
], ],
), ),
Spacer(), Spacer(),
// TODO - Re-add these when the features actually do something..
/*
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
@ -402,7 +404,8 @@ class _MyHomePageState extends State<MyHomePage> {
), ),
], ],
), ),
], */
]),
), ),
), ),
); );

View File

@ -133,6 +133,7 @@ class InvenTreeDrawer extends StatelessWidget {
leading: new FaIcon(FontAwesomeIcons.boxes), leading: new FaIcon(FontAwesomeIcons.boxes),
onTap: _showStock, onTap: _showStock,
), ),
/*
new ListTile( new ListTile(
title: new Text("Suppliers"), title: new Text("Suppliers"),
leading: new FaIcon(FontAwesomeIcons.building), leading: new FaIcon(FontAwesomeIcons.building),
@ -148,6 +149,7 @@ class InvenTreeDrawer extends StatelessWidget {
leading: new FaIcon(FontAwesomeIcons.users), leading: new FaIcon(FontAwesomeIcons.users),
onTap: _showCustomers, onTap: _showCustomers,
), ),
*/
new Divider(), new Divider(),
new ListTile( new ListTile(
title: new Text("Settings"), title: new Text("Settings"),