File tree Expand file tree Collapse file tree
Sources/SQLiteData/CloudKit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 117117 recordTypes. append ( modification. recordType)
118118 recordNames. append ( modification. recordID. recordName)
119119 }
120- if modifications. isEmpty {
121- actions. append ( " ⚪️ Modified " )
122- recordTypes. append ( " (none) " )
123- recordNames. append ( " (none) " )
124- }
125120 for (deletedRecordID, deletedRecordType) in deletions {
126121 actions. append ( " 🗑️ Deleted " )
127122 recordTypes. append ( deletedRecordType)
128123 recordNames. append ( deletedRecordID. recordName)
129124 }
130- if deletions. isEmpty {
131- actions. append ( " ⚪️ Deleted " )
132- recordTypes. append ( " (none) " )
133- recordNames. append ( " (none) " )
134- }
135125 debug (
136126 """
137127 \( prefix) fetchedRecordZoneChanges
192182 errors. append ( " " )
193183 }
194184 }
195- if savedRecords. isEmpty {
196- actions. append ( " ⚪️ Saved " )
197- recordTypes. append ( " (none) " )
198- recordNames. append ( " (none) " )
199- if !failedRecordSaves. isEmpty || !failedRecordDeletes. isEmpty {
200- errors. append ( " " )
201- }
202- }
203185 for (failedRecord, error) in failedRecordSaves {
204186 actions. append ( " 🛑 Save failed " )
205187 recordTypes. append ( failedRecord. recordType)
Original file line number Diff line number Diff line change 905905 $0. recordNames. append ( missingRecord. recordName)
906906 }
907907 if let sentRecord {
908- $0. events. append ( " ✅ Sent record " )
908+ $0. events. append ( " ➡️ Sending " )
909909 $0. recordTypes. append ( metadata. recordType)
910910 $0. recordNames. append ( sentRecord. recordName)
911911 }
You can’t perform that action at this time.
0 commit comments