lib/ProMotion/screen/screen_navigation.rb in ProMotion-2.2.0 vs lib/ProMotion/screen/screen_navigation.rb in ProMotion-2.2.1
- old
+ new
@@ -30,9 +30,13 @@
def open_modal(screen, args = {})
open screen, args.merge({ modal: true })
end
+ def app
+ UIApplication.sharedApplication
+ end
+
def app_delegate
UIApplication.sharedApplication.delegate
end
def close_screen(args = {})