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:
parent
83465511aa
commit
392493e004
@ -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(
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user