From dcfd9d8dd49689111abd5fc19c779ba6cdaed650 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 27 Sep 2021 23:24:06 +1000 Subject: [PATCH] Add "customers" button to home screen --- lib/widget/home.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/widget/home.dart b/lib/widget/home.dart index 5056d795..39609ccf 100644 --- a/lib/widget/home.dart +++ b/lib/widget/home.dart @@ -87,6 +87,7 @@ class _InvenTreeHomePageState extends State { if (!InvenTreeAPI().checkConnection(context)) return; } + void _showSuppliers(BuildContext context) { if (!InvenTreeAPI().checkConnection(context)) return; @@ -346,6 +347,13 @@ class _InvenTreeHomePageState extends State { callback: () { _showManufacturers(context); } + ), + _iconButton( + L10().customers, + FontAwesomeIcons.userTie, + callback: () { + _showCustomers(context); + } ), /* Spacer(),