lib/ProMotion/delegate.rb in ProMotion-0.6.2 vs lib/ProMotion/delegate.rb in ProMotion-0.6.3

- old
+ new

@@ -26,10 +26,10 @@ screen = screen.new if screen.respond_to?(:new) @home_screen = screen end def load_root_screen(new_screen) - new_screen = new_screen.main_controller if new_screen.respond_to?(:main_controller) + new_screen = new_screen.pm_main_controller self.window ||= self.ui_window.alloc.initWithFrame(UIScreen.mainScreen.bounds) self.window.rootViewController = new_screen self.window.makeKeyAndVisible end