lib/ProMotion/AppDelegate.rb in ProMotion-0.1.1 vs lib/ProMotion/AppDelegate.rb in ProMotion-0.1.2
- old
+ new
@@ -43,11 +43,11 @@
home(new_screen)
open_home_screen
end
def open_home_screen
- root = get_home_screen.main_controller
- load_root_view root
+ get_home_screen.send(:on_load) if get_home_screen.respond_to?(:on_load)
+ load_root_view get_home_screen.main_controller
end
def get_home_screen
@home_screen
end
\ No newline at end of file