From fac1911524d50b662db0f081e0590615d3e9ba24 Mon Sep 17 00:00:00 2001 From: Ben Weeks Date: Sun, 8 Jan 2023 00:38:02 +0000 Subject: [PATCH] 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. --- damus/ContentView.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/damus/ContentView.swift b/damus/ContentView.swift index 039e1c9d..039c3711 100644 --- a/damus/ContentView.swift +++ b/damus/ContentView.swift @@ -229,10 +229,6 @@ struct ContentView: View { } } } - - TabBar(new_events: $home.new_events, selected: $selected_timeline, action: switch_timeline) - .padding([.bottom], 8) - } Color.clear @@ -243,8 +239,9 @@ struct ContentView: View { .navigationBarHidden(isSideBarOpened ? true: false) // Would prefer a different way of doing this. } .navigationViewStyle(.stack) - - + + TabBar(new_events: $home.new_events, selected: $selected_timeline, action: switch_timeline) + .padding([.bottom], 8) } } .onAppear() {