fix: fix ios hmr (#8559)

This commit is contained in:
kmmccafferty96
2020-05-08 11:20:32 +03:00
committed by GitHub
parent f2fb0976c1
commit 446163d3f8
+1 -1
View File
@@ -61,7 +61,7 @@ export class View extends ViewCommon implements ViewDefinition {
this._privateFlags |= PFLAG_FORCE_LAYOUT;
const nativeView = this.nativeViewProtected;
if (nativeView) {
if (nativeView && nativeView.setNeedsLayout) {
nativeView.setNeedsLayout();
}