TheNoiseClock/TheNoiseClock/App/ContentView.swift
Matt Bruce 204aabf8d2 refactored
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
2025-09-08 06:48:25 -05:00

46 lines
910 B
Swift

//
// ContentView.swift
// TheNoiseClock
//
// Created by Matt Bruce on 9/7/25.
//
import SwiftUI
/// Main tab navigation coordinator
struct ContentView: View {
// MARK: - Body
var body: some View {
TabView {
NavigationStack {
ClockView()
}
.tabItem {
Label("Clock", systemImage: "clock")
}
NavigationStack {
AlarmView()
}
.tabItem {
Label("Alarms", systemImage: "alarm")
}
NavigationStack {
NoiseView()
}
.tabItem {
Label("Noise", systemImage: "waveform")
}
}
.accentColor(UIConstants.Colors.accentColor)
.preferredColorScheme(.dark)
}
}
// MARK: - Preview
#Preview {
ContentView()
}