2023-08-07 15:57:09 +02:00
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
@main
|
|
|
|
struct Sesame_Watch_Watch_AppApp: App {
|
|
|
|
|
|
|
|
let keyManagement = KeyManagement()
|
|
|
|
|
|
|
|
var body: some Scene {
|
|
|
|
WindowGroup {
|
|
|
|
TabView {
|
|
|
|
ContentView()
|
|
|
|
.environmentObject(keyManagement)
|
|
|
|
SettingsView()
|
2023-08-09 16:29:18 +02:00
|
|
|
.environmentObject(keyManagement)
|
|
|
|
HistoryView(history: HistoryManager())
|
2023-08-07 15:57:09 +02:00
|
|
|
}
|
|
|
|
.tabViewStyle(PageTabViewStyle())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|