From c94ff24e51a064b237f68093857c9ce7ffd235be Mon Sep 17 00:00:00 2001 From: Aman Raj <57723319+AshAman999@users.noreply.github.com> Date: Wed, 20 Apr 2022 01:18:55 +0530 Subject: [PATCH] fix: make card bottom prompt visible (#1488) * make card bottom prompt visible * Update summary_card.dart * Update paged_product_query.dart * pubspec Co-authored-by: Marvin M <39344769+M123-dev@users.noreply.github.com> --- .../smooth_app/lib/database/paged_product_query.dart | 2 +- .../smooth_app/lib/pages/product/summary_card.dart | 5 ++++- packages/smooth_app/pubspec.lock | 10 +++++----- packages/smooth_app/pubspec.yaml | 6 +++--- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/smooth_app/lib/database/paged_product_query.dart b/packages/smooth_app/lib/database/paged_product_query.dart index 413437b6438..29cc184faab 100644 --- a/packages/smooth_app/lib/database/paged_product_query.dart +++ b/packages/smooth_app/lib/database/paged_product_query.dart @@ -27,7 +27,7 @@ abstract class PagedProductQuery implements ProductQuery { fields: ProductQuery.fields, parametersList: [ PageSize(size: pageSize), - Page(page: _pageNumber), + PageNumber(page: _pageNumber), getParameter(), ], language: ProductQuery.getLanguage(), diff --git a/packages/smooth_app/lib/pages/product/summary_card.dart b/packages/smooth_app/lib/pages/product/summary_card.dart index dc011dd2846..b063a4ccd72 100644 --- a/packages/smooth_app/lib/pages/product/summary_card.dart +++ b/packages/smooth_app/lib/pages/product/summary_card.dart @@ -141,7 +141,10 @@ class _SummaryCardState extends State { child: Center( child: Text( AppLocalizations.of(context)!.tab_for_more, - style: Theme.of(context).primaryTextTheme.bodyText1, + style: + Theme.of(context).primaryTextTheme.bodyText1?.copyWith( + color: PRIMARY_BLUE_COLOR, + ), ), ), ), diff --git a/packages/smooth_app/pubspec.lock b/packages/smooth_app/pubspec.lock index 2589ae25e90..e594d1f8245 100644 --- a/packages/smooth_app/pubspec.lock +++ b/packages/smooth_app/pubspec.lock @@ -63,7 +63,7 @@ packages: name: build url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.0" built_collection: dependency: transitive description: @@ -77,7 +77,7 @@ packages: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.1.4" + version: "8.2.0" camera: dependency: "direct main" description: @@ -182,7 +182,7 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "2.2.2" + version: "2.2.3" device_frame: dependency: transitive description: @@ -604,7 +604,7 @@ packages: name: openfoodfacts url: "https://pub.dartlang.org" source: hosted - version: "1.14.0" + version: "1.15.0" package_config: dependency: transitive description: @@ -931,7 +931,7 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "1.2.1" + version: "1.2.2" source_span: dependency: transitive description: diff --git a/packages/smooth_app/pubspec.yaml b/packages/smooth_app/pubspec.yaml index 272e71d1c33..83c6593f17a 100644 --- a/packages/smooth_app/pubspec.yaml +++ b/packages/smooth_app/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: flutter_svg: ^1.0.3 flutter_map: ^0.14.0 flutter_widget_from_html_core: any - fwfh_selectable_text: ^0.8.3 + fwfh_selectable_text: ^0.8.3+1 flutter_secure_storage: ^5.0.2 hive: ^2.1.0 hive_flutter: ^1.1.0 @@ -28,7 +28,7 @@ dependencies: latlong2: ^0.8.1 matomo_forever: ^1.0.0+1 modal_bottom_sheet: ^2.0.1 - openfoodfacts: ^1.14.0 + openfoodfacts: ^1.15.0 # openfoodfacts: # path: ../../../openfoodfacts-dart package_info_plus: ^1.4.2 @@ -44,7 +44,7 @@ dependencies: camera: ^0.9.4+19 percent_indicator: ^4.0.0 mailto: ^2.0.0 - flutter_native_splash: ^2.1.3+1 + flutter_native_splash: ^2.1.6 # Fork from cli1005 with iOS fix cf: https://github.com/openfoodfacts/smooth-app/issues/1155 google_ml_barcode_scanner: git: