Skip to content

Commit 63c3199

Browse files
committed
wip
1 parent f995c99 commit 63c3199

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/ViewTypes/FullScreenCover.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import SwiftUI
99
/// @State var isPresented = false
1010
///
1111
/// public var body: some View {
12-
/// Button("Root", action: { isPresented = true })
12+
/// Button("Present", action: { isPresented = true })
1313
/// .fullScreenCover(isPresented: $isPresented) {
14-
/// Text("Content")
15-
/// .introspect(.fullScreenCover, on: .iOS(.v13, .v14, .v15, .v16, .v17)) {
14+
/// Button("Dismiss", action: { isPresented = false })
15+
/// .introspect(.fullScreenCover, on: .iOS(.v14, .v15, .v16, .v17)) {
1616
/// print(type(of: $0)) // UIPresentationController
1717
/// }
1818
/// }
@@ -27,10 +27,10 @@ import SwiftUI
2727
/// @State var isPresented = false
2828
///
2929
/// public var body: some View {
30-
/// Button("Root", action: { isPresented = true })
30+
/// Button("Present", action: { isPresented = true })
3131
/// .fullScreenCover(isPresented: $isPresented) {
32-
/// Text("Content")
33-
/// .introspect(.fullScreenCover, on: .tvOS(.v13, .v14, .v15, .v16, .v17)) {
32+
/// Button("Dismiss", action: { isPresented = false })
33+
/// .introspect(.fullScreenCover, on: .tvOS(.v14, .v15, .v16, .v17)) {
3434
/// print(type(of: $0)) // UIPresentationController
3535
/// }
3636
/// }

0 commit comments

Comments
 (0)