ProMotion 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ module ProMotion
|
|
3
3
|
|
4
4
|
include ProMotion::ScreenTabs
|
5
5
|
include ProMotion::SplitScreen if NSBundle.mainBundle.infoDictionary["UIDeviceFamily"].include?("2") # Only with iPad
|
6
|
-
include DelegateHelper
|
7
|
-
include DelegateNotifications
|
6
|
+
include ProMotion::DelegateHelper
|
7
|
+
include ProMotion::DelegateNotifications
|
8
8
|
|
9
9
|
end
|
10
10
|
|
@@ -11,8 +11,11 @@ module ProMotion
|
|
11
11
|
|
12
12
|
check_for_push_notification launch_options
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
# This will work when RubyMotion fixes a bug.
|
15
|
+
# defined?(super) ? super : true
|
16
|
+
|
17
|
+
# Workaround for now. Will display a NoMethodError, but ignore.
|
18
|
+
super rescue true
|
16
19
|
end
|
17
20
|
|
18
21
|
def applicationWillTerminate(application)
|
data/lib/ProMotion/version.rb
CHANGED