2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

Hide search functionality (for now!)

This commit is contained in:
Oliver Walters 2021-01-20 23:59:08 +11:00
parent 83465511aa
commit 392493e004
2 changed files with 8 additions and 0 deletions

View File

@ -241,11 +241,13 @@ class _MyHomePageState extends State<MyHomePage> {
// the App.build method, and use it to set our appbar title.
title: Text(widget.title),
actions: <Widget>[
/*
IconButton(
icon: FaIcon(FontAwesomeIcons.search),
tooltip: 'Search',
onPressed: _search,
),
*/
],
),
drawer: new InvenTreeDrawer(context),
@ -259,8 +261,10 @@ class _MyHomePageState extends State<MyHomePage> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
/*
Column(
children: <Widget>[
IconButton(
icon: new FaIcon(FontAwesomeIcons.search),
tooltip: 'Search',
@ -269,6 +273,7 @@ class _MyHomePageState extends State<MyHomePage> {
Text("Search"),
],
),
*/
Column(
children: <Widget>[
IconButton(

View File

@ -112,11 +112,14 @@ class InvenTreeDrawer extends StatelessWidget {
onTap: _home,
),
new Divider(),
/*
// TODO - Add search functionality!
new ListTile(
title: new Text("Search"),
leading: new FaIcon(FontAwesomeIcons.search),
onTap: _search,
),
*/
new ListTile(
title: new Text("Scan Barcode"),
onTap: _scan,