Skip to content

Commit

Permalink
fix: make card bottom prompt visible (#1488)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
AshAman999 and M123-dev authored Apr 19, 2022
1 parent 95917a4 commit c94ff24
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/smooth_app/lib/database/paged_product_query.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ abstract class PagedProductQuery implements ProductQuery {
fields: ProductQuery.fields,
parametersList: <Parameter>[
PageSize(size: pageSize),
Page(page: _pageNumber),
PageNumber(page: _pageNumber),
getParameter(),
],
language: ProductQuery.getLanguage(),
Expand Down
5 changes: 4 additions & 1 deletion packages/smooth_app/lib/pages/product/summary_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ class _SummaryCardState extends State<SummaryCard> {
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,
),
),
),
),
Expand Down
10 changes: 5 additions & 5 deletions packages/smooth_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions packages/smooth_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit c94ff24

Please sign in to comment.