fix: fix ios hmr (#8559)

This commit is contained in:
kmmccafferty96
2020-05-08 04:20:32 -04:00
committed by GitHub
parent f2fb0976c1
commit 446163d3f8

View File

@ -61,7 +61,7 @@ export class View extends ViewCommon implements ViewDefinition {
this._privateFlags |= PFLAG_FORCE_LAYOUT; this._privateFlags |= PFLAG_FORCE_LAYOUT;
const nativeView = this.nativeViewProtected; const nativeView = this.nativeViewProtected;
if (nativeView) { if (nativeView && nativeView.setNeedsLayout) {
nativeView.setNeedsLayout(); nativeView.setNeedsLayout();
} }