Commit 6b95e482 by Daniel Dahan

Fixed unbalanced calls in Motion transitions.

parent aee082d3
## 1.3.2
* Fixed unbalanced calls in Motion transitions.
## 1.3.1 ## 1.3.1
* Updated isMotionEnabled check, as it was determined incorrectly. * Updated isMotionEnabled check, as it was determined incorrectly.
......
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'Motion' s.name = 'Motion'
s.version = '1.3.1' s.version = '1.3.2'
s.license = 'MIT' s.license = 'MIT'
s.summary = 'A library used to create beautiful animations and transitions for Apple devices.' s.summary = 'A library used to create beautiful animations and transitions for Apple devices.'
s.homepage = 'http://cosmicmind.com' s.homepage = 'http://cosmicmind.com'
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.3.1</string> <string>1.3.2</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string> <string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
......
...@@ -546,9 +546,6 @@ internal extension MotionTransition { ...@@ -546,9 +546,6 @@ internal extension MotionTransition {
return return
} }
fvc.beginAppearanceTransition(false, animated: true)
tvc.beginAppearanceTransition(true, animated: true)
processForMotionDelegate(viewController: fvc) { [weak self] in processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else { guard let `self` = self else {
return return
...@@ -583,9 +580,6 @@ internal extension MotionTransition { ...@@ -583,9 +580,6 @@ internal extension MotionTransition {
return return
} }
tvc.endAppearanceTransition()
fvc.endAppearanceTransition()
processForMotionDelegate(viewController: fvc) { [weak self] in processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else { guard let `self` = self else {
return return
...@@ -622,9 +616,6 @@ internal extension MotionTransition { ...@@ -622,9 +616,6 @@ internal extension MotionTransition {
return return
} }
tvc.endAppearanceTransition()
fvc.endAppearanceTransition()
processForMotionDelegate(viewController: fvc) { [weak self] in processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else { guard let `self` = self else {
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment