You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log.externalWarning("\(ForEach<Data,ID,Content>.self) count (\(view.data.count)) != its initial count (\(self.view!.data.count)). `ForEach(_:content:)` should only be used for *constant* data. Instead conform data to `Identifiable` or use `ForEach(_:id:content:)` and provide an explicit `id`!")
297
+
}
298
+
letoldData=self.view!.data
299
+
self.view = view
300
+
self.view!.data = oldData
301
+
for(_, item)in items {
302
+
item.contentID = contentID
303
+
if item.seed == oldSeed {
304
+
item.seed = seed
305
+
}
306
+
}
296
307
}else{
297
308
self.view = view
298
309
edits.removeAll()
@@ -367,7 +378,7 @@ private class ForEachState<Data, ID, Content> where Data: RandomAccessCollection
0 commit comments