File tree 3 files changed +3
-6
lines changed
AuthenticationExample/AuthenticationExample
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ struct HomeView: View {
25
25
26
26
var body : some View {
27
27
if let portal = portal {
28
- NavigationView {
28
+ NavigationStack {
29
29
WebMapsView ( portal: portal)
30
30
. toolbar {
31
31
ToolbarItem ( placement: . navigationBarTrailing) {
@@ -42,7 +42,6 @@ struct HomeView: View {
42
42
}
43
43
}
44
44
}
45
- . navigationViewStyle ( . stack)
46
45
} else {
47
46
SignInView ( portal: $portal)
48
47
}
Original file line number Diff line number Diff line change @@ -23,14 +23,13 @@ struct Examples: View {
23
23
]
24
24
25
25
var body : some View {
26
- NavigationView {
26
+ NavigationStack {
27
27
List ( lists) { ( list) in
28
28
NavigationLink ( list. name, destination: list)
29
29
}
30
30
. navigationTitle ( " Toolkit Examples " )
31
31
. navigationBarTitleDisplayMode ( . inline)
32
32
}
33
- . navigationViewStyle ( . stack)
34
33
}
35
34
}
36
35
Original file line number Diff line number Diff line change @@ -16,14 +16,13 @@ import SwiftUI
16
16
17
17
struct Tests : View {
18
18
var body : some View {
19
- NavigationView {
19
+ NavigationStack {
20
20
List {
21
21
NavigationLink ( " Basemap Gallery Tests " , destination: BasemapGalleryTestView ( ) )
22
22
NavigationLink ( " Bookmarks Tests " , destination: BookmarksTestViews ( ) )
23
23
NavigationLink ( " Feature Form Tests " , destination: FeatureFormTestView ( ) )
24
24
NavigationLink ( " Floor Filter Tests " , destination: FloorFilterTestView ( ) )
25
25
}
26
26
}
27
- . navigationViewStyle ( . stack)
28
27
}
29
28
}
You can’t perform that action at this time.
0 commit comments