Skip to content

Commit

Permalink
feat: openfoodfacts#2513 - product page - moved higher the action bar
Browse files Browse the repository at this point in the history
Impacted file:
* `new_product_page.dart`: moved higher the action bar
  • Loading branch information
monsieurtanuki committed Jul 18, 2022
1 parent 6b52473 commit e6ec70f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/smooth_app/lib/pages/product/new_product_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,14 @@ class _ProductPageState extends State<ProductPage> with TraceableClientMixin {
),
),
),
_buildKnowledgePanelCards(),
_buildActionBar(appLocalizations),
if (productListNames.isNotEmpty)
_buildListWidget(
appLocalizations,
productListNames,
daoProductList,
),
_buildKnowledgePanelCards(),
if (context.read<UserPreferences>().getFlag(
UserPreferencesDevMode.userPreferencesFlagAdditionalButton) ??
false)
Expand Down Expand Up @@ -272,7 +272,6 @@ class _ProductPageState extends State<ProductPage> with TraceableClientMixin {
final bool refreshed = await ProductListUserDialogHelper(daoProductList)
.showUserListsWithBarcodeDialog(context, widget.product);
if (refreshed) {
_mustScrollToTheEnd = true;
setState(() {});
}
}
Expand Down

0 comments on commit e6ec70f

Please sign in to comment.