Fix displaying recipe ingredient note twice (#197)

* Update README.md

* Bump version to 35

* Cleanup dependencies

* Bump versions of dependencies

* Save isFood/disableAmount flags to db

* Fix displaying ingredient note twice

* Remove whitespace after note is extracted
This commit is contained in:
Kirill Kamakin
2024-01-14 11:44:21 +01:00
committed by GitHub
parent c8f1f477cc
commit 7c02a8341d
17 changed files with 100 additions and 119 deletions

View File

@@ -74,32 +74,38 @@ val PORRIDGE_RECIPE_SUMMARY_RESPONSE = GetRecipeSummaryResponse(
val MILK_RECIPE_INGREDIENT_RESPONSE = GetRecipeIngredientResponse(
note = "2 oz of white milk",
quantity = 1.0,
unit = null,
food = null,
quantity = 1.0,
display = "2 oz of white milk",
referenceId = "1",
title = null,
isFood = false,
disableAmount = true,
)
val SUGAR_RECIPE_INGREDIENT_RESPONSE = GetRecipeIngredientResponse(
note = "2 oz of white sugar",
quantity = 1.0,
unit = null,
food = null,
quantity = 1.0,
display = "2 oz of white sugar",
referenceId = "1",
title = "Sugar",
isFood = false,
disableAmount = true,
)
val BREAD_RECIPE_INGREDIENT_RESPONSE = GetRecipeIngredientResponse(
note = "2 oz of white bread",
quantity = 1.0,
unit = null,
food = null,
quantity = 1.0,
display = "2 oz of white bread",
referenceId = "3",
title = null,
isFood = false,
disableAmount = true,
)
val MIX_RECIPE_INSTRUCTION_RESPONSE = GetRecipeInstructionResponse(