Skip to content

Commit

Permalink
Proper UIKit name case
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejhanak authored and lvalenta committed Dec 21, 2024
1 parent 8663887 commit 231dd80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/FlowPilot/Coordinators/Coordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Sources/FlowPilot/Coordinators/RouterCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 231dd80

Please sign in to comment.