diff --git a/damus/Views/CreateAccountView.swift b/damus/Views/CreateAccountView.swift index 96d58ac..3443e17 100644 --- a/damus/Views/CreateAccountView.swift +++ b/damus/Views/CreateAccountView.swift @@ -101,17 +101,6 @@ struct BackNav: View { } } -struct BackNavBasic: View { - @Environment(\.dismiss) var dismiss - - var body: some View { - Image(systemName: "chevron.backward") - .onTapGesture { - self.dismiss() - } - } -} - extension View { func placeholder( when shouldShow: Bool, diff --git a/damus/Views/DMChatView.swift b/damus/Views/DMChatView.swift index 73a09cf..4e883b5 100644 --- a/damus/Views/DMChatView.swift +++ b/damus/Views/DMChatView.swift @@ -119,8 +119,6 @@ struct DMChatView: View { } } .toolbar { Header } - .navigationBarBackButtonHidden(true) - .navigationBarItems(leading: BackNavBasic()) } } diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift index 8b12fe4..afa6f87 100644 --- a/damus/Views/ProfileView.swift +++ b/damus/Views/ProfileView.swift @@ -147,8 +147,6 @@ struct ProfileView: View { followers.unsubscribe() // our profilemodel needs a bit more help } - .navigationBarBackButtonHidden(true) - .navigationBarItems(leading: BackNavBasic()) } } diff --git a/damus/Views/SearchView.swift b/damus/Views/SearchView.swift index ba6366f..53dc4cb 100644 --- a/damus/Views/SearchView.swift +++ b/damus/Views/SearchView.swift @@ -25,8 +25,6 @@ struct SearchView: View { .onDisappear() { search.unsubscribe() } - .navigationBarBackButtonHidden(true) - .navigationBarItems(leading: BackNavBasic()) } }