TempTrack-iOS/TempTrack/TempTrackApp.swift

20 lines
371 B
Swift
Raw Normal View History

2023-05-29 18:23:13 +02:00
import SwiftUI
2023-07-03 13:28:51 +02:00
let storage = PersistentStorage()
private let scanner = BluetoothScanner()
private let transfer = TransferHandler()
2023-05-29 18:23:13 +02:00
@main
struct TempTrackApp: App {
2023-05-29 18:23:13 +02:00
var body: some Scene {
WindowGroup {
2023-07-03 13:28:51 +02:00
ContentView(scanner: scanner)
.environmentObject(storage)
2023-07-03 13:28:51 +02:00
.environmentObject(transfer)
2023-05-29 18:23:13 +02:00
}
}
}