damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 3c962ecdfef7c1ecddf329cfecceedcde6ebaa35
parent ef5f92fe21edf146c0965aab0be63b8fb5b91760
Author: William Casarin <jb55@jb55.com>
Date:   Sat,  2 Jul 2022 12:32:21 -0700

Revert "nav: use back chevron in more places"

hitbox is annoying atm

This reverts commit ea0e28d2c577c46fde82cab6708ef0743d6b3ce8.

Diffstat:
Mdamus/Views/CreateAccountView.swift | 11-----------
Mdamus/Views/DMChatView.swift | 2--
Mdamus/Views/ProfileView.swift | 2--
Mdamus/Views/SearchView.swift | 2--
4 files changed, 0 insertions(+), 17 deletions(-)

diff --git 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<Content: View>( when shouldShow: Bool, diff --git 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 @@ -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 @@ -25,8 +25,6 @@ struct SearchView: View { .onDisappear() { search.unsubscribe() } - .navigationBarBackButtonHidden(true) - .navigationBarItems(leading: BackNavBasic()) } }