Skip to content

Commit

Permalink
fix(macos): add anchor points for applicationWillFinishLaunching(_:) (
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Aug 19, 2024
1 parent 8f347f2 commit 0570c7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions macos/ReactTestApp/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ extension AppDelegate {
}

func applicationWillFinishLaunching(_: Notification) {
// applicationWillFinishLaunching(_:) [ENABLE_SINGLE_APP_MODE=0]

if Session.shouldRememberLastComponent {
rememberLastComponentMenuItem.state = .on
}
Expand Down Expand Up @@ -294,6 +296,8 @@ extension AppDelegate {
rootView.frame = frame ?? NSRect(size: WindowSize.defaultSize)
window.contentViewController?.view = rootView

// applicationWillFinishLaunching(_:) [ENABLE_SINGLE_APP_MODE=1]

#if DEBUG
showReactMenu()
#endif // DEBUG
Expand Down

0 comments on commit 0570c7b

Please sign in to comment.