diff --git a/packages/smooth_app/lib/pages/product/product_page/new_product_page.dart b/packages/smooth_app/lib/pages/product/product_page/new_product_page.dart index 355616be27c..837922549db 100644 --- a/packages/smooth_app/lib/pages/product/product_page/new_product_page.dart +++ b/packages/smooth_app/lib/pages/product/product_page/new_product_page.dart @@ -179,9 +179,8 @@ class ProductPageState extends State Widget _buildProductBody(BuildContext context) { final AppLocalizations appLocalizations = AppLocalizations.of(context); - final LocalDatabase localDatabase = context.read(); final UserPreferences userPreferences = context.watch(); - final DaoProductList daoProductList = DaoProductList(localDatabase); + return RefreshIndicator( onRefresh: () async => ProductRefresher().fetchAndRefresh( barcode: barcode,