diff --git a/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index f8888b1..73b08d2 100644 --- a/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "6548f1bdc1af3a6da1ec955a8aaefefc7a98eef65eb9fe111ae0426a26893d3f", + "originHash" : "c998f2b1c34ecbb24a88c5711f17c1a351f48f3505ccd4cab4552e5760bd39a3", "pins" : [ { "identity" : "asn1", diff --git a/QuickDrop/AppDelegate.swift b/QuickDrop/AppDelegate.swift index 4dc56d0..342d3ae 100644 --- a/QuickDrop/AppDelegate.swift +++ b/QuickDrop/AppDelegate.swift @@ -431,6 +431,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele } log("Showing alert with message: \"\(alert.messageText)\" and description: \"\(alert.informativeText)\"") + log("Already successful transmissions: \(transmissionCount())") let result = alert.runModal() @@ -447,6 +448,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele } UserDefaults.standard.set(currentCount + 1, forKey: UserDefaultsKeys.transmissionCount.rawValue) + log("Successful transmission. Current count: \(currentCount)") } activeIncomingTransfers.removeValue(forKey: id) diff --git a/QuickDrop/WelcomeScreen.swift b/QuickDrop/WelcomeScreen.swift index 0f812c2..123146c 100644 --- a/QuickDrop/WelcomeScreen.swift +++ b/QuickDrop/WelcomeScreen.swift @@ -115,7 +115,7 @@ struct WelcomeScreen: View { } func openPrivacyPolicy() { - if let url = URL(string: "http://leonboettger.com/privacy") { + if let url = URL(string: "https://leonboettger.com/quickdrop-privacy") { NSWorkspace.shared.open(url) } }