Fixed typo with modal transition style argument.

This commit is contained in:
Mark Rickert
2013-06-11 14:15:57 -04:00
parent d850071b07
commit dc5edcd80f

View File

@@ -71,7 +71,7 @@ module ProMotion
self.navigation_controller ||= begin
self.first_screen = true if self.respond_to?(:first_screen=)
nav = NavigationController.alloc.initWithRootViewController(self)
nav.setModalTransitionStyle(args[:transition_style]) if args[:modal_transition_style]
nav.setModalTransitionStyle(args[:transition_style]) if args[:transition_style]
nav.setModalPresentationStyle(args[:presentation_style]) if args[:presentation_style]
nav
end