Skip to content

Commit 64a19a0

Browse files
committed
fixup! fix(apple): fix app autodetection in bridgeless mode
1 parent 6877795 commit 64a19a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

macos/ReactTestApp/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
2323

2424
func applicationDidFinishLaunching(_: Notification) {
2525
NotificationCenter.default.post(
26-
name: .ReactTestAppDidInitialize,
26+
name: .ReactAppDidInitialize,
2727
object: nil
2828
)
2929

@@ -106,7 +106,7 @@ extension AppDelegate {
106106
let components = manifest.components ?? []
107107
if components.isEmpty {
108108
NotificationCenter.default.addObserver(
109-
forName: .ReactTestAppDidRegisterApps,
109+
forName: .ReactAppDidRegisterApps,
110110
object: nil,
111111
queue: .main,
112112
using: { [weak self] note in

0 commit comments

Comments
 (0)