mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Move CloudKitReceiveStatusOperation to CloudKitSync module.
This commit is contained in:
@@ -9,10 +9,9 @@
|
||||
import Foundation
|
||||
import os.log
|
||||
import Core
|
||||
import CloudKitSync
|
||||
|
||||
final class CloudKitReceiveStatusOperation: MainThreadOperation {
|
||||
|
||||
public final class CloudKitReceiveStatusOperation: MainThreadOperation {
|
||||
|
||||
private var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CloudKit")
|
||||
|
||||
// MainThreadOperation
|
||||
@@ -24,11 +23,11 @@ final class CloudKitReceiveStatusOperation: MainThreadOperation {
|
||||
|
||||
private weak var articlesZone: CloudKitArticlesZone?
|
||||
|
||||
init(articlesZone: CloudKitArticlesZone) {
|
||||
public init(articlesZone: CloudKitArticlesZone) {
|
||||
self.articlesZone = articlesZone
|
||||
}
|
||||
|
||||
@MainActor func run() {
|
||||
@MainActor public func run() {
|
||||
|
||||
guard let articlesZone else {
|
||||
operationDelegate?.operationDidComplete(self)
|
||||
Reference in New Issue
Block a user