File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,20 @@ struct ContentView: View {
33
33
34
34
private extension ContentView {
35
35
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 {
38
38
39
39
case . initial:
40
40
print ( " [Store Event: initial] Our Images Store has initialized " )
41
41
42
42
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) )
44
44
45
45
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) )
47
47
48
48
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) )
50
50
}
51
51
}
52
52
}
You can’t perform that action at this time.
0 commit comments