Skip to content

Commit 0f0e58f

Browse files
committed
Maybe
1 parent 94ff2f2 commit 0f0e58f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Sources/SQLiteData/CloudKit/CloudKit+StructuredQueries.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@
248248
}
249249
if encryptedValues[key] != nil {
250250
encryptedValues[key] = nil
251+
encryptedValues[hash: key] = nil
252+
encryptedValues[at: key] = userModificationTime
253+
self.userModificationTime = userModificationTime
254+
return true
255+
} else if encryptedValues[data: key] != nil {
256+
encryptedValues[data: key] = nil
251257
encryptedValues[at: key] = userModificationTime
252258
self.userModificationTime = userModificationTime
253259
return true

Tests/SQLiteDataTests/CloudKitTests/AssetsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
┌──────────────────────────────────┐
514514
│ RemindersListAsset( │
515515
│ remindersListID: 1, │
516-
│ coverImage: Data(16,811 bytes) │
516+
│ coverImage: Data(16.811 bytes) │
517517
│ ) │
518518
└──────────────────────────────────┘
519519
"""

0 commit comments

Comments
 (0)