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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user