Commit 66bf027f by Orkhan Alikhanov

Removed redundant completionCallback mapping

parent c515a4f7
......@@ -47,16 +47,7 @@ extension MotionTransition {
fromViewController = from
toViewController = to
completionCallback = { [weak self] in
guard let `self` = self else {
return
}
completion?($0)
self.state = .possible
}
setCompletionCallbackForNextTransition(completion)
start()
}
}
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