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 c1176994118..20aa200bd1f 100644 --- a/packages/smooth_app/lib/pages/product/new_product_page.dart +++ b/packages/smooth_app/lib/pages/product/new_product_page.dart @@ -239,20 +239,17 @@ class _ProductPageState extends State if (upToDateProduct.website != null && upToDateProduct.website!.trim().isNotEmpty) WebsiteCard(upToDateProduct.website!), - if (userPreferences.getFlag( - UserPreferencesDevMode.userPreferencesFlagShortcutToPrices) ?? - false) - Padding( - padding: const EdgeInsets.all(SMALL_SPACE), - child: SmoothLargeButtonWithIcon( - text: appLocalizations.prices_app_button, - icon: CupertinoIcons.tag_fill, - onPressed: () async => LaunchUrlHelper.launchURL( - 'https://prices.openfoodfacts.org/app/products/${upToDateProduct.barcode!}', - false, - ), + Padding( + padding: const EdgeInsets.all(SMALL_SPACE), + child: SmoothLargeButtonWithIcon( + text: appLocalizations.prices_app_button, + icon: CupertinoIcons.tag_fill, + onPressed: () async => LaunchUrlHelper.launchURL( + 'https://prices.openfoodfacts.org/app/products/${upToDateProduct.barcode!}', + false, ), ), + ), if (userPreferences.getFlag( UserPreferencesDevMode.userPreferencesFlagUserOrderedKP) ?? false)