From 969875ad49c1e716176b2745c3d4c50a9af6a5ae Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 10 May 2022 08:42:08 +1000 Subject: [PATCH] Hide manufacturer / supplier / customer screens - For now, as they don't do anything useful - Will add back in once features are expanded --- lib/settings/home_settings.dart | 4 ++++ lib/widget/home.dart | 3 +++ 2 files changed, 7 insertions(+) diff --git a/lib/settings/home_settings.dart b/lib/settings/home_settings.dart index 7b93f40c..c5776c65 100644 --- a/lib/settings/home_settings.dart +++ b/lib/settings/home_settings.dart @@ -85,6 +85,9 @@ class _HomeScreenSettingsState extends State { }, ), ), + // TODO: When these features are improved, add them back in! + // Currently, the company display does not provide any value + /* ListTile( title: Text(L10().homeShowSuppliers), subtitle: Text(L10().homeShowSuppliersDescription), @@ -127,6 +130,7 @@ class _HomeScreenSettingsState extends State { }, ), ), + */ ] ) ) diff --git a/lib/widget/home.dart b/lib/widget/home.dart index eefd9c64..7cfb845c 100644 --- a/lib/widget/home.dart +++ b/lib/widget/home.dart @@ -290,6 +290,8 @@ class _InvenTreeHomePageState extends State { )); } + // TODO: Add these tiles back in once the features are fleshed out + /* // Suppliers if (homeShowSuppliers) { tiles.add(_listTile( @@ -325,6 +327,7 @@ class _InvenTreeHomePageState extends State { } )); } + */ // Settings tiles.add(_listTile(