mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-19 12:56:06 +00:00
More logging
This commit is contained in:
1 parent
711519ded5
commit
82e401b87d
3 files changed
+4
-2
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "6548f1bdc1af3a6da1ec955a8aaefefc7a98eef65eb9fe111ae0426a26893d3f",
|
"originHash" : "c998f2b1c34ecbb24a88c5711f17c1a351f48f3505ccd4cab4552e5760bd39a3",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "asn1",
|
"identity" : "asn1",
|
||||||
|
|||||||
@@ -431,6 +431,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
|||||||
}
|
}
|
||||||
|
|
||||||
log("Showing alert with message: \"\(alert.messageText)\" and description: \"\(alert.informativeText)\"")
|
log("Showing alert with message: \"\(alert.messageText)\" and description: \"\(alert.informativeText)\"")
|
||||||
|
log("Already successful transmissions: \(transmissionCount())")
|
||||||
|
|
||||||
let result = alert.runModal()
|
let result = alert.runModal()
|
||||||
|
|
||||||
@@ -447,6 +448,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
|||||||
}
|
}
|
||||||
|
|
||||||
UserDefaults.standard.set(currentCount + 1, forKey: UserDefaultsKeys.transmissionCount.rawValue)
|
UserDefaults.standard.set(currentCount + 1, forKey: UserDefaultsKeys.transmissionCount.rawValue)
|
||||||
|
log("Successful transmission. Current count: \(currentCount)")
|
||||||
}
|
}
|
||||||
|
|
||||||
activeIncomingTransfers.removeValue(forKey: id)
|
activeIncomingTransfers.removeValue(forKey: id)
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ struct WelcomeScreen: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func openPrivacyPolicy() {
|
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)
|
NSWorkspace.shared.open(url)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user