← poker-tutor
import SwiftUI
import PokerUI
import PokerSession
/// The iPhone cash app. The same `RootView` as every other shell; the one thing this file
/// decides is which product it is.
@main
struct PokerTutorCashPhoneApp: App {
@State private var app = AppState(variant: .pokerTutorCash)
@State private var splashDone = false
var body: some Scene {
WindowGroup {
ZStack {
RootView()
.environment(app)
.task { app.startCharging() }
if !splashDone {
AdLabSplash(done: $splashDone)
}
}
.preferredColorScheme(.dark)
}
}
}