diff --git a/Account/Sources/Account/Account.swift b/Account/Sources/Account/Account.swift index bd6730dc2..a537bc635 100644 --- a/Account/Sources/Account/Account.swift +++ b/Account/Sources/Account/Account.swift @@ -508,8 +508,8 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container, } else { if let title = item.titleFromAttributes, let folder = ensureFolder(with: title) { folder.externalID = item.attributes?["nnw_externalID"] as? String - if let nnwPauseSyncing = item.attributes?["nnw_pauseSyncing"] as? String, nnwPauseSyncing == "true" { - folder.pauseSyncing = true + if let isSyncingPaused = item.attributes?["nnw_isSyncingPaused"] as? String, isSyncingPaused == "true" { + folder.isSyncingPaused = true } item.children?.forEach { itemChild in if let feedSpecifier = itemChild.feedSpecifier { diff --git a/Account/Sources/Account/Folder.swift b/Account/Sources/Account/Folder.swift index ce2d08149..553887831 100644 --- a/Account/Sources/Account/Folder.swift +++ b/Account/Sources/Account/Folder.swift @@ -44,7 +44,7 @@ public final class Folder: Feed, Renamable, Container, Hashable { static let untitledName = NSLocalizedString("Untitled ƒ", comment: "Folder name") public let folderID: Int // not saved: per-run only - public var pauseSyncing = false + public var isSyncingPaused = false public var externalID: String? = nil static var incrementingID = 0 @@ -185,8 +185,8 @@ extension Folder: OPMLRepresentable { }() let attrPauseSyncing: String = { - if allowCustomAttributes && pauseSyncing { - return " nnw_pauseSyncing=\"true\"" + if allowCustomAttributes && isSyncingPaused { + return " nnw_isSyncingPaused=\"true\"" } else { return "" }