Network check if troubleshooting is opened

This commit is contained in:
Leon Böttger committed 2025-05-16 11:39:44 +02:00
1 parent 3522a64955
commit 0115a6453e
3 files changed
+12 -10

No files matched your search

+1 -3
View File
@@ -160,9 +160,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
@objc func openWelcomeScreen() {
// Create the welcome screen SwiftUI view
let welcomeView = WelcomeScreen {
self.openPlusScreen()
}
let welcomeView = WelcomeScreen(openPlusScreen: openPlusScreen, checkForNetworkIssues: performDeviceToDeviceCheck)
// Create an NSWindow to host the SwiftUI view
welcomeWindow = NSWindow(