From 3ce5362a043c4c7513db98a76b341dc8f1791f50 Mon Sep 17 00:00:00 2001 From: Dimitris-Rafail Katsampas Date: Tue, 13 Sep 2022 05:18:22 +0300 Subject: [PATCH] fix(ios): segmented bar nativeView check (#10023) --- packages/core/ui/segmented-bar/index.ios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/ui/segmented-bar/index.ios.ts b/packages/core/ui/segmented-bar/index.ios.ts index 7c59590d0..bcf2cc736 100644 --- a/packages/core/ui/segmented-bar/index.ios.ts +++ b/packages/core/ui/segmented-bar/index.ios.ts @@ -8,7 +8,7 @@ export * from './segmented-bar-common'; export class SegmentedBarItem extends SegmentedBarItemBase { public _update() { const parent = this.parent; - if (parent) { + if (parent?.ios) { const tabIndex = parent.items.indexOf(this); let title = this.title; title = title === null || title === undefined ? '' : title;