aboutsummaryrefslogtreecommitdiff
path: root/lib/widgets/recipe_card_widget.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/recipe_card_widget.dart')
-rw-r--r--lib/widgets/recipe_card_widget.dart4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/recipe_card_widget.dart b/lib/widgets/recipe_card_widget.dart
index d96b004..22e50ef 100644
--- a/lib/widgets/recipe_card_widget.dart
+++ b/lib/widgets/recipe_card_widget.dart
@@ -140,7 +140,7 @@ class __RecipeInfoState extends State<_RecipeInfo> {
padding: const EdgeInsets.all(2.0),
child: Text(
widget.recipe.title!,
- style: cRecipeTextStyle,
+ style: cRecipeTitleStyle,
overflow: TextOverflow.ellipsis,
),
),
@@ -156,7 +156,7 @@ class __RecipeInfoState extends State<_RecipeInfo> {
Padding(
padding: const EdgeInsets.only(bottom: 2.0),
child: Row(
- children: widget.recipe.rating != null ? _buildRating(widget.recipe.rating) : [],
+ children: _buildRating(widget.recipe.rating),
),
),
],