lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.2.0 vs lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.2.1
- old
+ new
@@ -40,9 +40,13 @@
def application(application, openURL: url, sourceApplication:source_app, annotation: annotation)
try :on_open_url, { url: url, source_app: source_app, annotation: annotation }
end
+ def app
+ UIApplication.sharedApplication
+ end
+
def app_delegate
self
end
def app_window