mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
fixed build issue maybe
This commit is contained in:
parent
78df4df73b
commit
22ba348959
1 changed files with 5 additions and 4 deletions
|
|
@ -42,8 +42,9 @@ struct ContentView: 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)
|
||||
.tabItem {
|
||||
Label(item.title, systemImage: item.icon)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue