Bug fixes and UI polish

This commit is contained in:
VincentMeilinger
2024-03-10 11:56:51 +01:00
parent 29872611da
commit 2c749754f4
8 changed files with 45 additions and 14 deletions

View File

@@ -34,7 +34,7 @@ struct SearchTabView: View {
}
}
.navigationDestination(for: Recipe.self) { recipe in
RecipeView(isPresented: .constant(true), viewModel: RecipeView.ViewModel(recipe: recipe))
RecipeView(viewModel: RecipeView.ViewModel(recipe: recipe))
}
.searchable(text: $viewModel.searchText, prompt: "Search recipes/keywords")
}