mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Hide search functionality (for now!)
This commit is contained in:
parent
83465511aa
commit
392493e004
2 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue