mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 22:37:14 +08:00
Fixed surface presenter observer (#24048)
Summary: We missed create observer array, let's add it. cc. shergin . [iOS] [Fixed] - Fixed surface presenter observer Pull Request resolved: https://github.com/facebook/react-native/pull/24048 Differential Revision: D14537159 Pulled By: shergin fbshipit-source-id: f57f685a09aa7c9692245d178b68e94d666ae2fb
This commit is contained in:
committed by
Facebook Github Bot
parent
a98f342191
commit
7ae90408c9
@@ -74,6 +74,8 @@ using namespace facebook::react;
|
||||
} else {
|
||||
_reactNativeConfig = std::make_shared<const EmptyReactNativeConfig>();
|
||||
}
|
||||
|
||||
_observers = [NSMutableArray array];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(handleBridgeWillReloadNotification:)
|
||||
|
||||
Reference in New Issue
Block a user