More logging

This commit is contained in:
Leon Böttger committed 2025-05-22 09:52:21 +02:00
1 parent 711519ded5
commit 82e401b87d
3 files changed
+4 -2

No files matched your search

@@ -1,5 +1,5 @@
{
"originHash" : "6548f1bdc1af3a6da1ec955a8aaefefc7a98eef65eb9fe111ae0426a26893d3f",
"originHash" : "c998f2b1c34ecbb24a88c5711f17c1a351f48f3505ccd4cab4552e5760bd39a3",
"pins" : [
{
"identity" : "asn1",
+2
View File
@@ -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)
+1 -1
View File
@@ -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)
}
}