mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
Fix refresh progress task counting in ReaderAPI
It triggered the state.numberCompleted <= state.numberOfTasks assert in completeTask.
This commit is contained in:
1 parent
3fd352fd20
commit
bbb502ca4d
1 file changed
+1
-1
@@ -760,7 +760,7 @@ private extension ReaderAPIAccountDelegate {
|
||||
let articleIDs = Array(fetchedArticleIDs)
|
||||
let chunkedArticleIDs = articleIDs.chunked(into: 150)
|
||||
|
||||
refreshProgress.addTasks(chunkedArticleIDs.count - 1)
|
||||
refreshProgress.addTasks(chunkedArticleIDs.count + 1)
|
||||
|
||||
for chunk in chunkedArticleIDs {
|
||||
|
||||
|
||||
Reference in new issue
Block a user