Commit b56ec4be by Daniel Dahan

updated to Motion.async where DispatchQueue.main.async calls are made

parent 8530c668
......@@ -503,7 +503,7 @@ fileprivate extension Motion {
if isNavigationController {
// When animating within navigationController, we have to dispatch later into the main queue.
// otherwise snapshots will be pure white. Possibly a bug with UIKit
DispatchQueue.main.async { [weak self] in
Motion.async { [weak self] in
self?.animate()
}
} else {
......
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