From f826869ce55391af21e528247a92adb9a45d4944 Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Sun, 29 Aug 2021 15:37:21 +0200 Subject: [PATCH] added 'bought' bool to ingredient --- lib/entities/PizzaRecipe/Ingredient.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/entities/PizzaRecipe/Ingredient.dart b/lib/entities/PizzaRecipe/Ingredient.dart index 1708d88..1d2bceb 100644 --- a/lib/entities/PizzaRecipe/Ingredient.dart +++ b/lib/entities/PizzaRecipe/Ingredient.dart @@ -15,6 +15,9 @@ class Ingredient extends HiveObject { @HiveField(2) double value; + + @HiveField(3) + bool bought = false; Ingredient(this.name, this.unit, this.value);