Six tabs forced iPhone to spill Course into the system "More" tab, whose own NavigationStack nested with CourseView's and produced a double back chevron on every week/deck push. Drop the Settings tab, reach it from a gear button on Dashboard that presents SettingsView as a sheet, and keep the visible tab count at five so no More overflow exists. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
645 B
Swift
28 lines
645 B
Swift
import SwiftUI
|
|
|
|
struct MainTabView: View {
|
|
var body: some View {
|
|
TabView {
|
|
Tab("Dashboard", systemImage: "chart.bar") {
|
|
DashboardView()
|
|
}
|
|
Tab("Practice", systemImage: "brain.head.profile") {
|
|
PracticeView()
|
|
}
|
|
Tab("Verbs", systemImage: "textformat.abc") {
|
|
VerbListView()
|
|
}
|
|
Tab("Guide", systemImage: "book") {
|
|
GuideView()
|
|
}
|
|
Tab("Course", systemImage: "list.clipboard") {
|
|
CourseView()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
MainTabView()
|
|
}
|