From e6ec70f90d3f458970f7b087e480bd32ca9345d0 Mon Sep 17 00:00:00 2001 From: monsieurtanuki Date: Mon, 18 Jul 2022 07:58:41 +0200 Subject: [PATCH] feat: #2513 - product page - moved higher the action bar Impacted file: * `new_product_page.dart`: moved higher the action bar --- packages/smooth_app/lib/pages/product/new_product_page.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/smooth_app/lib/pages/product/new_product_page.dart b/packages/smooth_app/lib/pages/product/new_product_page.dart index fc56563e6b7..812e72caa60 100644 --- a/packages/smooth_app/lib/pages/product/new_product_page.dart +++ b/packages/smooth_app/lib/pages/product/new_product_page.dart @@ -227,7 +227,6 @@ class _ProductPageState extends State with TraceableClientMixin { ), ), ), - _buildKnowledgePanelCards(), _buildActionBar(appLocalizations), if (productListNames.isNotEmpty) _buildListWidget( @@ -235,6 +234,7 @@ class _ProductPageState extends State with TraceableClientMixin { productListNames, daoProductList, ), + _buildKnowledgePanelCards(), if (context.read().getFlag( UserPreferencesDevMode.userPreferencesFlagAdditionalButton) ?? false) @@ -272,7 +272,6 @@ class _ProductPageState extends State with TraceableClientMixin { final bool refreshed = await ProductListUserDialogHelper(daoProductList) .showUserListsWithBarcodeDialog(context, widget.product); if (refreshed) { - _mustScrollToTheEnd = true; setState(() {}); } }