lib/ProMotion/AppDelegate.rb in ProMotion-0.2.0 vs lib/ProMotion/AppDelegate.rb in ProMotion-0.3.0

- old
+ new

@@ -4,11 +4,11 @@ def application(application, didFinishLaunchingWithOptions:launchOptions) return true if RUBYMOTION_ENV == "test" Console.log(" Your AppDelegate (usually in app_delegate.rb) needs an on_load(options) method.", withColor: Console::RED_COLOR) unless self.respond_to?(:on_load) - - on_load launchOptions + + on_load(application, launchOptions) open_home_screen if has_home_screen get_home_screen.on_opened if has_home_screen && get_home_screen.respond_to?(:on_opened) \ No newline at end of file