UI bug fixes (regarding recipe servings adjustment)

This commit is contained in:
VincentMeilinger
2024-03-22 14:31:45 +01:00
parent 7b59c79222
commit d201690332
7 changed files with 16 additions and 45 deletions

View File

@@ -67,10 +67,10 @@ struct RecipeIngredientSection: View {
if viewModel.observableRecipeDetail.ingredientMultiplier != Double(viewModel.observableRecipeDetail.recipeYield) {
HStack() {
Image(systemName: "exclamationmark.triangle.fill")
.foregroundStyle(.red)
Text("Unable to adjust some ingredients!")
.foregroundStyle(.secondary)
}
Text("Marked ingredients could not be adjusted!")
.foregroundStyle(.secondary)
}.padding(.top)
}
if viewModel.editMode {