From 363ebd148dddead4e90b23a5de0514f20d1370bb Mon Sep 17 00:00:00 2001 From: Kevin McKee Date: Sun, 15 Jun 2025 13:24:07 -0700 Subject: [PATCH 1/2] Updating sample app to use v1.2.0 --- OAuthSample.xcodeproj/project.pbxproj | 2 +- OAuthSample/OAuthSampleApp.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OAuthSample.xcodeproj/project.pbxproj b/OAuthSample.xcodeproj/project.pbxproj index 8f6492d..c80aa7f 100644 --- a/OAuthSample.xcodeproj/project.pbxproj +++ b/OAuthSample.xcodeproj/project.pbxproj @@ -394,7 +394,7 @@ repositoryURL = "https://github.com/codefiesta/OAuthKit.git"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 1.0.3; + minimumVersion = 1.2.0; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/OAuthSample/OAuthSampleApp.swift b/OAuthSample/OAuthSampleApp.swift index bd07fd7..ccfbe01 100644 --- a/OAuthSample/OAuthSampleApp.swift +++ b/OAuthSample/OAuthSampleApp.swift @@ -23,6 +23,7 @@ struct OAuthSampleApp: App { #if !os(tvOS) WindowGroup(id: "oauth") { OAWebView() + .environment(\.oauth, oauth) } #endif } From 74f8627995a1f898e083d1ff772a8f3661ce9491 Mon Sep 17 00:00:00 2001 From: Kevin McKee Date: Sun, 15 Jun 2025 13:25:25 -0700 Subject: [PATCH 2/2] Updating OAWebView initializer. --- OAuthSample/OAuthSampleApp.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OAuthSample/OAuthSampleApp.swift b/OAuthSample/OAuthSampleApp.swift index ccfbe01..1b4c79f 100644 --- a/OAuthSample/OAuthSampleApp.swift +++ b/OAuthSample/OAuthSampleApp.swift @@ -22,8 +22,7 @@ struct OAuthSampleApp: App { #if !os(tvOS) WindowGroup(id: "oauth") { - OAWebView() - .environment(\.oauth, oauth) + OAWebView(oauth: oauth) } #endif }