lib/ProMotion/screens/_screen_module.rb in ProMotion-0.5.0 vs lib/ProMotion/screens/_screen_module.rb in ProMotion-0.5.2
- old
+ new
@@ -129,10 +129,10 @@
self.class.title = new_title
super
end
def main_controller
- return self.navigationController if self.navigationController
+ return self.navigation_controller if self.navigation_controller
self
end
def view_controller
warn "[DEPRECATION] `view_controller` is deprecated, as screens are now UIViewController subclasses."
\ No newline at end of file