mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
fix(ios): segmented bar nativeView check (#10023)
This commit is contained in:

committed by
Nathan Walker

parent
59fb3d9457
commit
3ce5362a04
@ -8,7 +8,7 @@ export * from './segmented-bar-common';
|
||||
export class SegmentedBarItem extends SegmentedBarItemBase {
|
||||
public _update() {
|
||||
const parent = <SegmentedBar>this.parent;
|
||||
if (parent) {
|
||||
if (parent?.ios) {
|
||||
const tabIndex = parent.items.indexOf(this);
|
||||
let title = this.title;
|
||||
title = title === null || title === undefined ? '' : title;
|
||||
|
Reference in New Issue
Block a user