Skip to content

Commit 337704c

Browse files
committed
Updating property name in demo project
1 parent 62a6553 commit 337704c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Demo/Demo/App/ContentView.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ struct ContentView: View {
3333

3434
private extension ContentView {
3535
func monitorImageStoreEvents() async {
36-
for await value in self.imagesController.$images.events {
37-
switch value.operation {
36+
for await event in self.imagesController.$images.events {
37+
switch event.operation {
3838

3939
case .initial:
4040
print("[Store Event: initial] Our Images Store has initialized")
4141

4242
case .loaded:
43-
print("[Store Event: loaded] Our Images Store has loaded with images", value.items.map(\.url))
43+
print("[Store Event: loaded] Our Images Store has loaded with images", event.items.map(\.url))
4444

4545
case .insert:
46-
print("[Store Event: insert] Our Images Store inserted images", value.items.map(\.url))
46+
print("[Store Event: insert] Our Images Store inserted images", event.items.map(\.url))
4747

4848
case .remove:
49-
print("[Store Event: remove] Our Images Store removed images", value.items.map(\.url))
49+
print("[Store Event: remove] Our Images Store removed images", event.items.map(\.url))
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)