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

@@ -37,11 +37,13 @@ class ModelMapperImpl @Inject constructor() : ModelMapper {
id = ingredientResponse.referenceId,
recipeId = recipeId,
note = ingredientResponse.note,
unit = ingredientResponse.unit?.name,
food = ingredientResponse.food?.name,
unit = ingredientResponse.unit?.name,
quantity = ingredientResponse.quantity,
display = ingredientResponse.display,
title = ingredientResponse.title,
isFood = ingredientResponse.isFood,
disableAmount = ingredientResponse.disableAmount,
)
override fun toRecipeInstructionEntity(