Make sure the statuses get updated before the unread count query executes. Issue #670
This commit is contained in:
parent
3ae9bdb74f
commit
8e7b1c8454
|
@ -70,7 +70,7 @@ final class StatusesTable: DatabaseTable {
|
|||
}
|
||||
let articleIDs = updatedStatuses.articleIDs()
|
||||
|
||||
queue.update { (database) in
|
||||
queue.updateSync { (database) in
|
||||
self.markArticleIDs(articleIDs, statusKey, flag, database)
|
||||
}
|
||||
return updatedStatuses
|
||||
|
|
Loading…
Reference in New Issue