Skip to content

Commit 9aab358

Browse files
authored
fix tabbar showing duplicates
1 parent 15f52d1 commit 9aab358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ struct NewTabView: AnyTabView {
3131
RepresentableView(view: child.view)
3232
.ignoresSafeArea(.container, edges: .all)
3333
.tabAppear(using: context)
34+
.hideTabBar(props.tabBarHidden)
3435
} label: {
3536
TabItem(
3637
title: tabData.title,
@@ -50,6 +51,5 @@ struct NewTabView: AnyTabView {
5051
.measureView { size in
5152
onLayout(size)
5253
}
53-
.hideTabBar(props.tabBarHidden)
5454
}
5555
}

0 commit comments

Comments
 (0)