mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 16:42:01 +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 {
|
if #available(iOS 26, *), useNativeTabBar == true {
|
||||||
TabView {
|
TabView {
|
||||||
ForEach(Array(tabs.enumerated()), id: \.offset) { index, item in
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue