diff --git a/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index cd546fa..56f02ad 100644 --- a/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -52,7 +52,7 @@ "location" : "https://github.com/leonboe1/LUI.git", "state" : { "branch" : "main", - "revision" : "3582f59e758c39a849ab691f3fe26f7d0f618a94" + "revision" : "7554164b073a5d603e2e7fe92a55159658c67c8e" } }, { @@ -124,7 +124,7 @@ "location" : "https://github.com/siteline/swiftui-introspect", "state" : { "branch" : "main", - "revision" : "26986a57e31c813f98262ddb62d4b07d40008535" + "revision" : "b789ee16f0000b35860a46a0bebca7074546d0d0" } }, { diff --git a/QuickDrop/Configuration.swift b/QuickDrop/Configuration.swift index f533cd7..caddb18 100644 --- a/QuickDrop/Configuration.swift +++ b/QuickDrop/Configuration.swift @@ -25,7 +25,7 @@ let configuration = LUIConfiguration( hasRoundedFont: false, - switchedToIAPafterBundleVersion: AppVersionBundle(appVersion: "1.2", buildVersion: 0, legacyUserDefaultsKey: Settings.UserDefaultsKeys.plusVersionLegacy.rawValue), + switchedToInAppPurchaseWithBundleVersion: AppVersionBundle(appVersion: "1.2", buildVersion: 0, legacyUserDefaultsKey: Settings.UserDefaultsKeys.plusVersionLegacy.rawValue), copyrightInformation: licenseText, @@ -47,5 +47,12 @@ let configuration = LUIConfiguration( supportsPortraitSplitView: false, - supportsDarkModeShadow: true + supportsDarkModeShadow: true, + + privacyPolicyURL: .privacyPolicyURL ) + + +extension String { + static let privacyPolicyURL = "https://leonboettger.com/quickdrop-privacy" +} diff --git a/QuickDrop/View/UserManual/WelcomeScreen.swift b/QuickDrop/View/UserManual/WelcomeScreen.swift index 730b308..8ea1b2f 100644 --- a/QuickDrop/View/UserManual/WelcomeScreen.swift +++ b/QuickDrop/View/UserManual/WelcomeScreen.swift @@ -100,7 +100,7 @@ struct WelcomeScreen: View { } func openPrivacyPolicy() { - if let url = URL(string: "https://leonboettger.com/quickdrop-privacy") { + if let url = URL(string: .privacyPolicyURL) { NSWorkspace.shared.open(url) } }