mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Fix deprecation warning using CKRecordZoneSubscription.
This commit is contained in:
1 parent
7b4dd51a8f
commit
ca3cf85db3
1 file changed
+2
-2
@@ -198,8 +198,8 @@ public extension CloudKitZone {
|
||||
|
||||
/// Subscribes to zone changes
|
||||
func subscribeToZoneChanges() {
|
||||
let subscription = CKRecordZoneSubscription(zoneID: zoneID)
|
||||
|
||||
let subscription = CKRecordZoneSubscription(zoneID: zoneID, subscriptionID: zoneID.zoneName)
|
||||
|
||||
let info = CKSubscription.NotificationInfo()
|
||||
info.shouldSendContentAvailable = true
|
||||
subscription.notificationInfo = info
|
||||
|
||||
Reference in new issue
Block a user