Code cleanup

This commit is contained in:
VincentMeilinger
2024-02-03 17:51:51 +01:00
parent d1d498cf2d
commit a6bd25ce3b
11 changed files with 163 additions and 60 deletions

View File

@@ -111,6 +111,8 @@ fileprivate struct EmptyGroceryListView: View {
}
// Grocery List Logic
class GroceryRecipe: Identifiable, Codable {
let name: String

View File

@@ -95,6 +95,7 @@ struct RecipeTabView: View {
}
fileprivate struct RecipeTabViewToolBar: ToolbarContent {
@EnvironmentObject var mainViewModel: AppState
@EnvironmentObject var viewModel: RecipeTabView.ViewModel