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 cb633c7Copy full SHA for cb633c7
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)
136
#endif
- #if os(tvOS)
- // TV needs this to correctly update appearance on first render
137
- updateTabBarAppearance(props: props, tabBar: tabBar)
138
- #endif
139
}
140
141
0 commit comments