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-06-08 09:52:20 +02:00
|
|
|
|
2023-05-29 18:23:13 +02:00
|
|
|
@main
|
|
|
|
struct TempTrackApp: App {
|
2023-06-08 09:52:20 +02:00
|
|
|
|
2023-05-29 18:23:13 +02:00
|
|
|
var body: some Scene {
|
|
|
|
WindowGroup {
|
2023-07-03 13:28:51 +02:00
|
|
|
ContentView(scanner: scanner)
|
2023-06-08 09:52:20 +02:00
|
|
|
.environmentObject(storage)
|
2023-07-03 13:28:51 +02:00
|
|
|
.environmentObject(transfer)
|
2023-05-29 18:23:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|