File tree Expand file tree Collapse file tree 4 files changed +4
-26
lines changed
SpeechRecognition/SpeechRecognition Expand file tree Collapse file tree 4 files changed +4
-26
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ import SwiftUI
44@main
55struct SearchApp : App {
66
7- @MainActor
87 static let store = Store ( initialState: Search . State ( ) ) {
98 Search ( )
109 . _printChanges ( )
1110 }
1211
1312 var body : some Scene {
1413 WindowGroup {
15- if isTesting {
16- EmptyView ( )
17- } else {
18- SearchView ( store: Self . store)
19- }
14+ SearchView ( store: Self . store)
2015 }
2116 }
2217}
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ import SwiftUI
44@main
55struct SpeechRecognitionApp : App {
66
7- @MainActor
87 static let store = Store ( initialState: SpeechRecognition . State ( ) ) {
98 SpeechRecognition ( )
109 . _printChanges ( )
1110 }
1211
1312 var body : some Scene {
1413 WindowGroup {
15- if isTesting {
16- EmptyView ( )
17- } else {
18- SpeechRecognitionView ( store: Self . store)
19- }
14+ SpeechRecognitionView ( store: Self . store)
2015 }
2116 }
2217}
Original file line number Diff line number Diff line change @@ -4,21 +4,14 @@ import SwiftUI
44@main
55struct TodosApp : App {
66
7- @MainActor
87 static let store = Store ( initialState: Todos . State ( ) ) {
98 Todos ( )
109 . _printChange ( )
1110 }
1211
1312 var body : some Scene {
1413 WindowGroup {
15- if isTesting {
16- EmptyView ( )
17- } else {
18- AppView ( store: Self . store)
19- }
14+ AppView ( store: Self . store)
2015 }
2116 }
2217}
23-
24-
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ import SwiftUI
44@main
55struct VoiceMemosApp : App {
66
7- @MainActor
87 static let store = Store ( initialState: VoiceMemos . State ( ) ) {
98 VoiceMemos ( )
109 . _printChanges ( )
1110 }
1211
1312 var body : some Scene {
1413 WindowGroup {
15- if isTesting {
16- EmptyView ( )
17- } else {
18- VoiceMemosView ( store: Self . store)
19- }
14+ VoiceMemosView ( store: Self . store)
2015 }
2116 }
2217}
You can’t perform that action at this time.
0 commit comments