We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914b14f commit a6ec0e8Copy full SHA for a6ec0e8
ios/TabViewImpl.swift
@@ -127,15 +127,13 @@ struct TabViewImpl: View {
127
.tabBadge(tabData?.badge)
128
.onAppear {
129
updateTabBarAppearance(props: props, tabBar: tabBar)
130
+
131
+#if os(iOS)
132
guard index >= 4,
133
let key = tabData?.key,
134
props.selectedPage != key else { return }
135
onSelect(key)
- #endif
- #if os(tvOS)
136
- // TV needs this to correctly update appearance on first render
137
- updateTabBarAppearance(props: props, tabBar: tabBar)
138
+#endif
139
}
140
141
0 commit comments