Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #77 from cyclomaticcomplexity1981/master
Browse files Browse the repository at this point in the history
 Use new markers for shops with suggested products #69
  • Loading branch information
blazern authored Dec 26, 2021
2 parents d6d3099 + dd54aaa commit f44bbc2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions assets/map_marker_group_suggestions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/map_marker_suggestions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions lib/ui/base/colors_plante.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class ColorsPlante {
});
static const Color primaryDisabled = Color.fromARGB(255, 132, 161, 142);
static const Color splashColor = Color(0xFF3D8257);
static const Color suggestedProductsMarker = Color(0xFF75A8A4);
static const Color greenLight = Color(0xFFEBF0ED);
static const Color grey = Color(0xFF979A9C);
static const Color divider = Color(0xFFC2D0C6);
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/map/map_page/map_page_mode_default.dart
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,15 @@ class MapPageModeDefault extends MapPageModeShopsCardBase {
key: const Key('filter_shops_with_rad_suggested_products'),
text: context
.strings.map_page_filter_shops_with_radius_suggested_products,
markerColor: const Color(0xFF3D948D),
markerColor: ColorsPlante.suggestedProductsMarker,
value: _showSuggestionsAtShop[SuggestionType.RADIUS]!.watch(ref),
onChanged: _setShowRadSuggestedShops,
),
MapShopsFilterCheckbox(
key: const Key('filter_shops_with_off_suggested_products'),
text: context
.strings.map_page_filter_shops_with_off_suggested_products,
markerColor: const Color(0xFF3D948D),
markerColor: ColorsPlante.suggestedProductsMarker,
value: _showSuggestionsAtShop[SuggestionType.OFF]!.watch(ref),
onChanged: _setShowOffSuggestedShops,
),
Expand Down

0 comments on commit f44bbc2

Please sign in to comment.