Skip to content

Commit

Permalink
Fixed unbalanced calls in Motion transitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dahan committed Jan 5, 2018
1 parent aee082d commit 6b95e48
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.2

* Fixed unbalanced calls in Motion transitions.

## 1.3.1

* Updated isMotionEnabled check, as it was determined incorrectly.
Expand Down
2 changes: 1 addition & 1 deletion Motion.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Motion'
s.version = '1.3.1'
s.version = '1.3.2'
s.license = 'MIT'
s.summary = 'A library used to create beautiful animations and transitions for Apple devices.'
s.homepage = 'http://cosmicmind.com'
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
9 changes: 0 additions & 9 deletions Sources/Transition/MotionTransition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,6 @@ internal extension MotionTransition {
return
}

fvc.beginAppearanceTransition(false, animated: true)
tvc.beginAppearanceTransition(true, animated: true)

processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else {
return
Expand Down Expand Up @@ -583,9 +580,6 @@ internal extension MotionTransition {
return
}

tvc.endAppearanceTransition()
fvc.endAppearanceTransition()

processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else {
return
Expand Down Expand Up @@ -622,9 +616,6 @@ internal extension MotionTransition {
return
}

tvc.endAppearanceTransition()
fvc.endAppearanceTransition()

processForMotionDelegate(viewController: fvc) { [weak self] in
guard let `self` = self else {
return
Expand Down

0 comments on commit 6b95e48

Please sign in to comment.