21 lines
485 B
Swift
21 lines
485 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct Sesame_Watch_Watch_AppApp: App {
|
|
|
|
let keyManagement = KeyManagement()
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
TabView {
|
|
ContentView()
|
|
.environmentObject(keyManagement)
|
|
SettingsView()
|
|
.environmentObject(keyManagement)
|
|
HistoryView(history: HistoryManager())
|
|
}
|
|
.tabViewStyle(PageTabViewStyle())
|
|
}
|
|
}
|
|
}
|