Skip to content

Commit

Permalink
Continuing the pacification
Browse files Browse the repository at this point in the history
  • Loading branch information
vovagalchenko committed Dec 26, 2023
1 parent 998b40e commit 5c143ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CookSmart/CookSmart/Model/IngredientsStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
if let ingrRef = ingredientRefs[ingredientId],
storedIngredientGroups.indices.contains(ingrRef.storedIngredientGroupIndex) &&
storedIngredientGroups[ingrRef.storedIngredientGroupIndex].ingredients.indices.contains(ingrRef.ingredientIndex) {
storedIngredientGroups[ingrRef.storedIngredientGroupIndex].ingredients[ingrRef.ingredientIndex]
return storedIngredientGroups[ingrRef.storedIngredientGroupIndex].ingredients[ingrRef.ingredientIndex]
} else {
Ingredient?.none
return Ingredient?.none
}
}
}
Expand Down

0 comments on commit 5c143ba

Please sign in to comment.