From db6cc26a8b4ddc6d9d57b3b57a1bbac7555d7e71 Mon Sep 17 00:00:00 2001 From: nriedman <108841122+nriedman@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:06:13 -0700 Subject: [PATCH] Remove scheduler and mock web service dependency --- ENGAGEHF.xcodeproj/project.pbxproj | 16 ++++++++-------- ENGAGEHF/Home.swift | 5 ----- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/ENGAGEHF.xcodeproj/project.pbxproj b/ENGAGEHF.xcodeproj/project.pbxproj index 50fd5f9c..6794135a 100644 --- a/ENGAGEHF.xcodeproj/project.pbxproj +++ b/ENGAGEHF.xcodeproj/project.pbxproj @@ -46,9 +46,9 @@ 2FE5DC9C29EDD9EF004B9AB4 /* XCTHealthKit in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC9B29EDD9EF004B9AB4 /* XCTHealthKit */; }; 2FE5DCB129EE6107004B9AB4 /* AccountOnboarding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */; }; 2FF53D8D2A8729D600042B76 /* ENGAGEHFStandard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF53D8C2A8729D600042B76 /* ENGAGEHFStandard.swift */; }; - 4DB025B72BBDE903002D2545 /* DashboardView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DB025B62BBDE903002D2545 /* DashboardView.swift */; }; + 4DB025B72BBDE903002D2545 /* Dashboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DB025B62BBDE903002D2545 /* Dashboard.swift */; }; 4DB025CA2BBE3A59002D2545 /* HomeViewUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DB025C92BBE3A59002D2545 /* HomeViewUITests.swift */; }; - 4DB025CE2BBE8D2E002D2545 /* GreetingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DB025CD2BBE8D2E002D2545 /* GreetingView.swift */; }; + 4DB025CE2BBE8D2E002D2545 /* Greeting.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DB025CD2BBE8D2E002D2545 /* Greeting.swift */; }; 56E708352BB06B7100B08F0A /* SpeziLicense in Frameworks */ = {isa = PBXBuildFile; productRef = 56E708342BB06B7100B08F0A /* SpeziLicense */; }; 56E7083B2BB06F6F00B08F0A /* SwiftPackageList in Frameworks */ = {isa = PBXBuildFile; productRef = 56E7083A2BB06F6F00B08F0A /* SwiftPackageList */; }; 653A2551283387FE005D4D48 /* ENGAGEHF.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A2550283387FE005D4D48 /* ENGAGEHF.swift */; }; @@ -106,9 +106,9 @@ 2FE5DC5529EDD811004B9AB4 /* SocialSupportQuestionnaire.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = SocialSupportQuestionnaire.json; sourceTree = ""; }; 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountOnboarding.swift; sourceTree = ""; }; 2FF53D8C2A8729D600042B76 /* ENGAGEHFStandard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ENGAGEHFStandard.swift; sourceTree = ""; }; - 4DB025B62BBDE903002D2545 /* DashboardView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DashboardView.swift; sourceTree = ""; }; + 4DB025B62BBDE903002D2545 /* Dashboard.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Dashboard.swift; sourceTree = ""; }; 4DB025C92BBE3A59002D2545 /* HomeViewUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeViewUITests.swift; sourceTree = ""; }; - 4DB025CD2BBE8D2E002D2545 /* GreetingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GreetingView.swift; sourceTree = ""; }; + 4DB025CD2BBE8D2E002D2545 /* Greeting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Greeting.swift; sourceTree = ""; }; 653A254D283387FE005D4D48 /* ENGAGEHF.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ENGAGEHF.app; sourceTree = BUILT_PRODUCTS_DIR; }; 653A2550283387FE005D4D48 /* ENGAGEHF.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ENGAGEHF.swift; sourceTree = ""; }; 653A255428338800005D4D48 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -228,8 +228,8 @@ 4DB025B52BBDE8EC002D2545 /* Dashboard */ = { isa = PBXGroup; children = ( - 4DB025B62BBDE903002D2545 /* DashboardView.swift */, - 4DB025CD2BBE8D2E002D2545 /* GreetingView.swift */, + 4DB025B62BBDE903002D2545 /* Dashboard.swift */, + 4DB025CD2BBE8D2E002D2545 /* Greeting.swift */, ); path = Dashboard; sourceTree = ""; @@ -497,7 +497,7 @@ 2FE5DC3829EDD7CA004B9AB4 /* InterestingModules.swift in Sources */, 2FE5DC3529EDD7CA004B9AB4 /* Consent.swift in Sources */, 2FE5DC4529EDD7F2004B9AB4 /* Binding+Negate.swift in Sources */, - 4DB025B72BBDE903002D2545 /* DashboardView.swift in Sources */, + 4DB025B72BBDE903002D2545 /* Dashboard.swift in Sources */, 2FC975A82978F11A00BA99FE /* Home.swift in Sources */, A9DFE8A92ABE551400428242 /* AccountButton.swift in Sources */, 2FE5DC3729EDD7CA004B9AB4 /* OnboardingFlow.swift in Sources */, @@ -512,7 +512,7 @@ 653A2551283387FE005D4D48 /* ENGAGEHF.swift in Sources */, 2FE5DC3629EDD7CA004B9AB4 /* HealthKitPermissions.swift in Sources */, 2F65B44E2A3B8B0600A36932 /* NotificationPermissions.swift in Sources */, - 4DB025CE2BBE8D2E002D2545 /* GreetingView.swift in Sources */, + 4DB025CE2BBE8D2E002D2545 /* Greeting.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/ENGAGEHF/Home.swift b/ENGAGEHF/Home.swift index 3aa96d49..b0e227f0 100644 --- a/ENGAGEHF/Home.swift +++ b/ENGAGEHF/Home.swift @@ -7,7 +7,6 @@ // import SpeziAccount -import SpeziMockWebService import SwiftUI @@ -53,8 +52,6 @@ struct HomeView: View { return HomeView() .previewWith(standard: ENGAGEHFStandard()) { - ENGAGEHFScheduler() - MockWebService() AccountConfiguration(building: details, active: MockUserIdPasswordAccountService()) } } @@ -63,8 +60,6 @@ struct HomeView: View { CommandLine.arguments.append("--disableFirebase") // make sure the MockWebService is displayed return HomeView() .previewWith(standard: ENGAGEHFStandard()) { - ENGAGEHFScheduler() - MockWebService() AccountConfiguration { MockUserIdPasswordAccountService() }