Call download progress on the main queue
This commit is contained in:
parent
059d0717ee
commit
f3a1b074ac
|
@ -89,7 +89,9 @@ final class FeedlyAccountDelegate: AccountDelegate {
|
|||
progress.addToNumberOfTasksAndRemaining(1)
|
||||
syncStrategy?.startSync { result in
|
||||
os_log(.debug, log: log, "Sync took %.3f seconds", -date.timeIntervalSinceNow)
|
||||
progress.completeTask()
|
||||
DispatchQueue.main.async {
|
||||
progress.completeTask()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue