From 6e33998fb6c67814add075a15e9d1fa30e67da84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Fri, 16 May 2025 13:00:35 +0200 Subject: [PATCH] Remove unnecessary code --- NearDrop/AppDelegate.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/NearDrop/AppDelegate.swift b/NearDrop/AppDelegate.swift index f147913..7140d86 100644 --- a/NearDrop/AppDelegate.swift +++ b/NearDrop/AppDelegate.swift @@ -88,9 +88,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele BezelNotification.show(messageText: "ReadyToReceive".localized(), icon: .receiveIcon) } - UNUserNotificationCenter.current().delegate=self - - log("Currently used interface: \(getActiveNetworkInterface() ?? "Unknown")") + UNUserNotificationCenter.current().delegate = self let monitor = NWPathMonitor() monitor.pathUpdateHandler = { path in