- Initialize iOS project with 6-tab navigation structure - Configure custom Light/Dark themes and AppColors - Define SwiftData models for Tasks, Tags, Goals, and TrackingRecords - Setup relationships (Super/Sub tags) and cascade delete rules - Implement Observable TrackingEngine for real-time timer updates
20 lines
426 B
Swift
20 lines
426 B
Swift
import SwiftUI
|
|
|
|
struct StatsTabView: View {
|
|
var body: some View {
|
|
NavigationStack {
|
|
EmptyStateView(
|
|
icon: "chart.bar",
|
|
message: String(localized: "stats.empty")
|
|
)
|
|
.background(Color.tfBackground)
|
|
.navigationTitle(String(localized: "tab.stats"))
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
StatsTabView()
|
|
.environment(AppPreferences())
|
|
}
|