mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove redundant isBridgeless() checking
Summary: 3rd step of following 3 steps: 1, Rename hasActiveCatalystInstance() to hasActiveReactInstance() so it won't sounds like CatalystInstance-only. D27335055 (https://github.com/facebook/react-native/commit/dfa8eb0558338f18ea01f294a64d355f6deeff06) 2, Implement hasActiveReactInstance() for Venice. D27343867 3, Remove previous mitigation. D27343952 Changelog: [Category][Type] - Remove isBridgeless() mitigation Reviewed By: mdvacca Differential Revision: D27343952 fbshipit-source-id: 158175e58d0f4248623d369793e919e43e8ad972
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dfa8eb0558
commit
10830f4db9
@@ -914,8 +914,7 @@ public abstract class DevSupportManagerBase
|
||||
});
|
||||
|
||||
@Nullable ReactContext context = mCurrentContext;
|
||||
if (context == null
|
||||
|| (!context.isBridgeless() && !context.hasActiveReactInstance())) {
|
||||
if (context == null || !context.hasActiveReactInstance()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user