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