This is weird, I have a tab bar with 4 defined tabs and the last item is duplicating itself.
TabView {
HomeView()
.tabItem {
Label("Home", systemImage: "chart.bar.fill")
}
GroupsView()
.tabItem {
Label("Groups", systemImage: "person.3.fill")
}
FriendsView()
.tabItem {
Label("Friends", systemImage: "person.crop.circle.fill.badge.plus")
}
ProfileView()
.tabItem {
Label("Profile", systemImage: "person.crop.circle")
}
}
Result:
Happens on both simulator and physical device. Also only seems to be the profile tab, if I move another tab to the end the profile tab duplicates itself but in the middle. Would the view have anything to do with it?