17 lines
363 B
Swift
17 lines
363 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct HoloLakeMobileApp: App {
|
|
@StateObject private var client = HoloLakeSyncClient()
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
.environmentObject(client)
|
|
.onOpenURL { url in
|
|
Task { await client.pair(with: url) }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|