Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
9716185622
commit
3df3e852ef
34
TheNoiseClock/ContentView.swift
Normal file
34
TheNoiseClock/ContentView.swift
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct ContentView: View {
|
||||||
|
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(.blue)
|
||||||
|
.preferredColorScheme(.dark)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
ContentView()
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user