Skip to content

Commit 0570c7b

Browse files
authored
fix(macos): add anchor points for applicationWillFinishLaunching(_:) (#2188)
1 parent 8f347f2 commit 0570c7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

macos/ReactTestApp/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ extension AppDelegate {
149149
}
150150

151151
func applicationWillFinishLaunching(_: Notification) {
152+
// applicationWillFinishLaunching(_:) [ENABLE_SINGLE_APP_MODE=0]
153+
152154
if Session.shouldRememberLastComponent {
153155
rememberLastComponentMenuItem.state = .on
154156
}
@@ -294,6 +296,8 @@ extension AppDelegate {
294296
rootView.frame = frame ?? NSRect(size: WindowSize.defaultSize)
295297
window.contentViewController?.view = rootView
296298

299+
// applicationWillFinishLaunching(_:) [ENABLE_SINGLE_APP_MODE=1]
300+
297301
#if DEBUG
298302
showReactMenu()
299303
#endif // DEBUG

0 commit comments

Comments
 (0)