Undid change to navigation appearing above the tabView as unfortunately has consequence hadn't spotted of the tab view dropping from profile page and settings page.

This commit is contained in:
Ben Weeks
2023-01-08 00:38:02 +00:00
parent 38211a74f5
commit fac1911524

View File

@@ -229,10 +229,6 @@ struct ContentView: View {
} }
} }
} }
TabBar(new_events: $home.new_events, selected: $selected_timeline, action: switch_timeline)
.padding([.bottom], 8)
} }
Color.clear Color.clear
@@ -243,8 +239,9 @@ struct ContentView: View {
.navigationBarHidden(isSideBarOpened ? true: false) // Would prefer a different way of doing this. .navigationBarHidden(isSideBarOpened ? true: false) // Would prefer a different way of doing this.
} }
.navigationViewStyle(.stack) .navigationViewStyle(.stack)
TabBar(new_events: $home.new_events, selected: $selected_timeline, action: switch_timeline)
.padding([.bottom], 8)
} }
} }
.onAppear() { .onAppear() {