Skip to content

Commit 2c8fb34

Browse files
committed
Fix window accessor code in AppDelegate
1 parent 08117fd commit 2c8fb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macOS/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCent
2727
}
2828
}
2929

30-
self.window = NSApplication.shared.windows.first(where: { $0 != nil })
30+
self.window = NSApplication.shared.windows.first
3131

3232
}
3333

0 commit comments

Comments
 (0)