mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 01:04:05 +01:00
Create updateAccountFeedsWithItems which will replace FeedlyUpdateAccountFeedsWithItemsOperation.
This commit is contained in:
parent
8e3c0b3683
commit
758aa62f61
@ -640,6 +640,14 @@ final class FeedlyAccountDelegate: AccountDelegate {
|
|||||||
return articleIDs
|
return articleIDs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func updateAccountFeedsWithItems(account: Account, feedIDsAndItems: [String: Set<ParsedItem>]) async throws {
|
||||||
|
|
||||||
|
// To replace FeedlyUpdateAccountFeedsWithItemsOperation
|
||||||
|
|
||||||
|
try await account.update(feedIDsAndItems: feedIDsAndItems, defaultRead: true)
|
||||||
|
os_log(.debug, log: self.log, "Updated %i feeds", feedIDsAndItems.count)
|
||||||
|
}
|
||||||
|
|
||||||
// MARK: Suspend and Resume (for iOS)
|
// MARK: Suspend and Resume (for iOS)
|
||||||
|
|
||||||
/// Suspend all network activity
|
/// Suspend all network activity
|
||||||
|
Loading…
Reference in New Issue
Block a user