import EquipoKit import SwiftUI @main struct EquipoPhoneApp: App { @UIApplicationDelegateAdaptor(EquipoPhoneDelegate.self) private var delegate var body: some Scene { WindowGroup { #if DEBUG if ProcessInfo.processInfo.environment["EQUIPO_NOTIFICATION_FIXTURE"] != nil { NotificationFixture() } else if ProcessInfo.processInfo.environment["EQUIPO_SHARE_FIXTURE"] != nil { #if targetEnvironment(simulator) ShareFixture() #else PhoneRoot(model: delegate.model) #endif } else if ProcessInfo.processInfo.environment["EQUIPO_SCREENSHOT_FIXTURE"] != nil { AttachmentsFixture() } else if ProcessInfo.processInfo.environment["EQUIPO_PREVIEW_FIXTURE"] != nil { PreviewFixture() } else if ProcessInfo.processInfo.environment["EQUIPO_NEEDS_FIXTURE"] != nil { PhoneNeedsFixture() } else if ProcessInfo.processInfo.environment["EQUIPO_TASK_FIXTURE"] != nil { TaskViewFixture() } else if ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"] != nil { StoppedWorkFixture() } else { PhoneRoot(model: delegate.model) } #else PhoneRoot(model: delegate.model) #endif } } }