Skip to content

Commit

Permalink
Merge pull request #4 from jonaszmclaren/master
Browse files Browse the repository at this point in the history
Change 'popup' case to 'pop'
  • Loading branch information
SpectralDragon authored Aug 17, 2017
2 parents 0bdb040 + cbc049c commit ba9ca70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LightRoute/LightRoute.swift
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public enum TransitionNavigationStyle {
/// This case performs that current transition must be push.
case push

/// This case performs that current transition must be popup.
case popup
/// This case performs that current transition must be pop.
case pop

/// This case performs that current transition must be present.
case present
Expand Down Expand Up @@ -320,7 +320,7 @@ public final class TransitionPromise<T> {
}

switch navCase {
case .popup:
case .pop:
navController.popToViewController(destination, animated: animated)
case .present:
navController.present(destination, animated: animated, completion: nil)
Expand Down

0 comments on commit ba9ca70

Please sign in to comment.