Skip to content

Commit 75d6a00

Browse files
committed
fix: do not add badges on Apple TV
1 parent d441ad6 commit 75d6a00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-native-bottom-tabs/ios/TabView/NewTabView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ struct NewTabView: AnyTabView {
3939
labeled: props.labeled
4040
)
4141
}
42+
#if !os(tvOS)
4243
.badge(tabData.badge.flatMap { !$0.isEmpty ? Text($0) : nil })
44+
#endif
4345
.accessibilityIdentifier(tabData.testID ?? "")
4446
}
4547
}

0 commit comments

Comments
 (0)