From 22ba348959b3f5687f5eb53b3c552e5473a2a16d Mon Sep 17 00:00:00 2001 From: cranci1 <100066266+cranci1@users.noreply.github.com> Date: Mon, 23 Jun 2025 21:14:58 +0200 Subject: [PATCH] fixed build issue maybe --- Sora/ContentView.swift | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Sora/ContentView.swift b/Sora/ContentView.swift index 4cde703..67697f4 100644 --- a/Sora/ContentView.swift +++ b/Sora/ContentView.swift @@ -37,14 +37,15 @@ struct ContentView: View { default: return AnyView(LibraryView()) } } - + var body: some View { if #available(iOS 26, *), useNativeTabBar == true { TabView { ForEach(Array(tabs.enumerated()), id: \.offset) { index, item in - Tab(item.title, systemImage: item.icon, role: index == 3 ? .search : nil) { - tabView(for: index) - } + tabView(for: index) + .tabItem { + Label(item.title, systemImage: item.icon) + } } } .searchable(text: $searchQuery)