We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b866ec commit dcfafc1Copy full SHA for dcfafc1
Tests/ComposableArchitectureTests/WithViewStoreAppTest.swift
@@ -22,20 +22,23 @@ struct TestApp: App {
22
checkAccessibilityRotor()
23
checkToolbar()
24
}
25
- }
26
- #if os(iOS) || os(macOS)
27
- .commands {
28
- WithViewStore(self.store) { viewStore in
+ }
+
+ #if os(iOS) || os(macOS)
29
+ var commands: some Scene {
30
+ self.body.commands {
31
+ WithViewStore(self.store) { viewStore in
32
CommandMenu("Commands") {
33
Button("Increment") {
34
viewStore.send(())
35
36
37
- #endif
38
39
-
40
+ #endif
41
42
@ViewBuilder
43
func checkToolbar() -> some View {
44
Color.clear
0 commit comments