Skip to content

Commit 79f0904

Browse files
committed
wip
1 parent ac28eba commit 79f0904

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Examples/CaseStudies/SwiftUICaseStudies/02-Effects-Timers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct TimersView: View {
5454
let store: StoreOf<Timers>
5555

5656
var body: some View {
57-
WithViewStore(store) { viewStore in
57+
WithViewStore(self.store) { viewStore in
5858
Form {
5959
AboutView(readMe: readMe)
6060

Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ElmLikeSubscriptions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct ClockView: View {
8080
let store: Store<ClockState, ClockAction>
8181

8282
var body: some View {
83-
WithViewStore(store) { viewStore in
83+
WithViewStore(self.store) { viewStore in
8484
Form {
8585
AboutView(readMe: readMe)
8686

Examples/VoiceMemos/VoiceMemos/VoiceMemo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct VoiceMemoView: View {
100100
let store: StoreOf<VoiceMemo>
101101

102102
var body: some View {
103-
WithViewStore(store) { viewStore in
103+
WithViewStore(self.store) { viewStore in
104104
let currentTime =
105105
viewStore.mode.progress.map { $0 * viewStore.duration } ?? viewStore.duration
106106
HStack {

Tests/ComposableArchitectureTests/WithViewStoreAppTest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct TestApp: App {
4545
func checkToolbar() -> some View {
4646
Color.clear
4747
.toolbar {
48-
WithViewStore(store) { viewStore in
48+
WithViewStore(self.store) { viewStore in
4949
ToolbarItem {
5050
Button(action: { viewStore.send(()) }, label: { Text("Increment") })
5151
}
@@ -59,7 +59,7 @@ struct TestApp: App {
5959
if #available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) {
6060
Color.clear
6161
.accessibilityRotor("Rotor") {
62-
WithViewStore(store) { viewStore in
62+
WithViewStore(self.store) { viewStore in
6363
AccessibilityRotorEntry("Value: \(viewStore.state)", 0, in: namespace)
6464
}
6565
}

0 commit comments

Comments
 (0)