File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Shared/Supporting Files/Views Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ struct FavoritesView: View {
4242 }
4343 . listStyle ( . sidebar)
4444 . toolbar {
45- ToolbarItemGroup ( placement: . navigationBarTrailing ) {
45+ ToolbarItemGroup ( placement: . topBarTrailing ) {
4646 EditButton ( )
4747
4848 Button {
@@ -105,7 +105,7 @@ private extension FavoritesView {
105105 Text ( " Choose a sample to add to Favorites " )
106106 . font ( . subheadline)
107107 }
108- ToolbarItem ( placement: . navigationBarTrailing ) {
108+ ToolbarItem ( placement: . topBarTrailing ) {
109109 Button ( " Done " ) {
110110 dismiss ( )
111111 }
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ struct SampleDetailView: View {
8484 . navigationTitle ( sample. name)
8585 . navigationBarTitleDisplayMode ( . inline)
8686 . toolbar {
87- ToolbarItem ( placement: . navigationBarTrailing ) {
87+ ToolbarItem ( placement: . topBarTrailing ) {
8888 Button {
8989 isSampleInfoViewPresented = true
9090 } label: {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ struct Sidebar: View {
3434 }
3535 }
3636 . toolbar {
37- ToolbarItem ( placement: . navigationBarTrailing ) {
37+ ToolbarItem ( placement: . topBarTrailing ) {
3838 Button {
3939 isAboutViewPresented = true
4040 } label: {
You can’t perform that action at this time.
0 commit comments