mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 13:25:40 +00:00 
			
		
		
		
	Hide search functionality (for now!)
This commit is contained in:
		| @@ -241,11 +241,13 @@ class _MyHomePageState extends State<MyHomePage> { | |||||||
|         // the App.build method, and use it to set our appbar title. |         // the App.build method, and use it to set our appbar title. | ||||||
|         title: Text(widget.title), |         title: Text(widget.title), | ||||||
|         actions: <Widget>[ |         actions: <Widget>[ | ||||||
|  |           /* | ||||||
|           IconButton( |           IconButton( | ||||||
|             icon: FaIcon(FontAwesomeIcons.search), |             icon: FaIcon(FontAwesomeIcons.search), | ||||||
|             tooltip: 'Search', |             tooltip: 'Search', | ||||||
|             onPressed: _search, |             onPressed: _search, | ||||||
|           ), |           ), | ||||||
|  |            */ | ||||||
|         ], |         ], | ||||||
|       ), |       ), | ||||||
|       drawer: new InvenTreeDrawer(context), |       drawer: new InvenTreeDrawer(context), | ||||||
| @@ -259,8 +261,10 @@ class _MyHomePageState extends State<MyHomePage> { | |||||||
|             Row( |             Row( | ||||||
|               mainAxisAlignment: MainAxisAlignment.spaceEvenly, |               mainAxisAlignment: MainAxisAlignment.spaceEvenly, | ||||||
|               children: <Widget>[ |               children: <Widget>[ | ||||||
|  |                 /* | ||||||
|                 Column( |                 Column( | ||||||
|                   children: <Widget>[ |                   children: <Widget>[ | ||||||
|  |  | ||||||
|                    IconButton( |                    IconButton( | ||||||
|                      icon: new FaIcon(FontAwesomeIcons.search), |                      icon: new FaIcon(FontAwesomeIcons.search), | ||||||
|                      tooltip: 'Search', |                      tooltip: 'Search', | ||||||
| @@ -269,6 +273,7 @@ class _MyHomePageState extends State<MyHomePage> { | |||||||
|                    Text("Search"), |                    Text("Search"), | ||||||
|                   ], |                   ], | ||||||
|                 ), |                 ), | ||||||
|  |                 */ | ||||||
|                 Column( |                 Column( | ||||||
|                   children: <Widget>[ |                   children: <Widget>[ | ||||||
|                     IconButton( |                     IconButton( | ||||||
|   | |||||||
| @@ -112,11 +112,14 @@ class InvenTreeDrawer extends StatelessWidget { | |||||||
|                 onTap: _home, |                 onTap: _home, | ||||||
|               ), |               ), | ||||||
|               new Divider(), |               new Divider(), | ||||||
|  |               /* | ||||||
|  |               // TODO - Add search functionality! | ||||||
|               new ListTile( |               new ListTile( | ||||||
|                 title: new Text("Search"), |                 title: new Text("Search"), | ||||||
|                 leading: new FaIcon(FontAwesomeIcons.search), |                 leading: new FaIcon(FontAwesomeIcons.search), | ||||||
|                 onTap: _search, |                 onTap: _search, | ||||||
|               ), |               ), | ||||||
|  |               */ | ||||||
|               new ListTile( |               new ListTile( | ||||||
|                 title: new Text("Scan Barcode"), |                 title: new Text("Scan Barcode"), | ||||||
|                 onTap: _scan, |                 onTap: _scan, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user