Skip to content

Commit deba361

Browse files
committed
fix(core): ios safe guard from null nativeViewProtected
1 parent 0ebe287 commit deba361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export function overrideViewBase() {
270270
}
271271

272272
updateLayers() {
273-
const layer = this.nativeViewProtected.layer;
273+
const layer = this.nativeViewProtected?.layer;
274274
if (layer) {
275275
const mask = layer.mask;
276276
if (layer && this.inkTouchController) {

0 commit comments

Comments
 (0)