diff --git a/Sources/FlowPilot/Coordinators/Coordinator.swift b/Sources/FlowPilot/Coordinators/Coordinator.swift index 215e804..50650d9 100644 --- a/Sources/FlowPilot/Coordinators/Coordinator.swift +++ b/Sources/FlowPilot/Coordinators/Coordinator.swift @@ -189,7 +189,7 @@ open class Coordinator: CoordinatorEventDelegate { @inlinable open func coordinate(to coordinator: some Coordinator, animated: Bool = true) { onCoordinationStarted(of: coordinator) - #if canImport(UIkit) + #if canImport(UIKit) coordinator.start(animated: shouldAnimateTransition(preference: animated, respectsUserReduceMotion: options.contains(.respectsReduceMotionDisabled))) #else coordinator.start(animated: animated) diff --git a/Sources/FlowPilot/Coordinators/RouterCoordinator.swift b/Sources/FlowPilot/Coordinators/RouterCoordinator.swift index 11204d6..df1de03 100644 --- a/Sources/FlowPilot/Coordinators/RouterCoordinator.swift +++ b/Sources/FlowPilot/Coordinators/RouterCoordinator.swift @@ -54,7 +54,7 @@ open class RouterCoordinator: Coordinator { */ @inlinable open func dismiss(animated: Bool = true) { - #if canImport(UIkit) + #if canImport(UIKit) router.dismiss(animated: shouldAnimateTransition(preference: animated, respectsUserReduceMotion: options.contains(.respectsReduceMotionDisabled))) #else router.dismiss(animated: animated) @@ -70,7 +70,7 @@ open class RouterCoordinator: Coordinator { @inlinable open func present(_ viewController: some PlatformViewController, animated: Bool) { setAssociatedViewController(viewController) - #if canImport(UIkit) + #if canImport(UIKit) router.present(viewController, animated: shouldAnimateTransition(preference: animated, respectsUserReduceMotion: options.contains(.respectsReduceMotionDisabled))) #else router.present(viewController, animated: animated)