mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[LOCAL] Apply patch on top of #49951 - see pick request 1009
This commit is contained in:
+9
-1
@@ -685,7 +685,15 @@ public class SurfaceMountingManager {
|
||||
return;
|
||||
}
|
||||
|
||||
ViewState viewState = getViewState(reactTag);
|
||||
ViewState viewState = getNullableViewState(reactTag);
|
||||
|
||||
if (viewState == null) {
|
||||
ReactSoftExceptionLogger.logSoftException(
|
||||
ReactSoftExceptionLogger.Categories.SURFACE_MOUNTING_MANAGER_MISSING_VIEWSTATE,
|
||||
new ReactNoCrashSoftException(
|
||||
"Unable to find viewState for tag: " + reactTag + " for updateProps"));
|
||||
return;
|
||||
}
|
||||
viewState.mCurrentProps = new ReactStylesDiffMap(props);
|
||||
View view = viewState.mView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user