- Implement Goal(목표) and Quest(다짐) functionality - Add a new feature for tracking and recording history - TODO: Fix an issue in 횟수측정 Action(행동) where count and time are recorded but not reflected in the icon
49 lines
1.0 KiB
Swift
49 lines
1.0 KiB
Swift
//
|
|
// MainTabView.swift
|
|
// HaruDanim
|
|
//
|
|
// Root tab navigation hosting the app's six top-level sections.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct MainTabView: View {
|
|
var body: some View {
|
|
TabView {
|
|
MainDashboardView()
|
|
.tabItem {
|
|
Label("메인", systemImage: "house")
|
|
}
|
|
|
|
ActionTabView()
|
|
.tabItem {
|
|
Label("행동", systemImage: "bolt")
|
|
}
|
|
|
|
TagTabView()
|
|
.tabItem {
|
|
Label("꼬리표", systemImage: "tag")
|
|
}
|
|
|
|
GoalTabView()
|
|
.tabItem {
|
|
Label("목표", systemImage: "flag")
|
|
}
|
|
|
|
RecordTabView()
|
|
.tabItem {
|
|
Label("기록", systemImage: "chart.bar")
|
|
}
|
|
|
|
Text("설정")
|
|
.tabItem {
|
|
Label("설정", systemImage: "gearshape")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
MainTabView()
|
|
}
|