From 8f6dbfed356e9259e1ec58c91e2e967fe75f216c Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 1 Nov 2023 15:37:50 +0800 Subject: [PATCH] Pass in dataservice --- .../Sources/App/AppExtensions/Share/Views/EditLabelsSheet.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/EditLabelsSheet.swift b/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/EditLabelsSheet.swift index c9ca6c639..90626a574 100644 --- a/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/EditLabelsSheet.swift +++ b/apple/OmnivoreKit/Sources/App/AppExtensions/Share/Views/EditLabelsSheet.swift @@ -99,6 +99,7 @@ public struct EditLabelsSheet: View { Text("Done").bold() })) } + .environmentObject(viewModel.services.dataService) .task { await labelsViewModel.loadLabelsFromStore(dataService: viewModel.services.dataService) }