mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
set an empty nav title for reader view to prevent nav bar from reappearing
This commit is contained in:
parent
65f2baa8c4
commit
9cab60b107
1 changed files with 6 additions and 2 deletions
|
|
@ -13,7 +13,9 @@ struct FeedCardNavigationLink: View {
|
|||
var body: some View {
|
||||
let destination = LinkItemDetailView(viewModel: LinkItemDetailViewModel(item: item, homeFeedViewModel: viewModel))
|
||||
#if os(iOS)
|
||||
let modifiedDestination = destination.navigationBarHidden(true)
|
||||
let modifiedDestination = destination
|
||||
.navigationBarHidden(true)
|
||||
.navigationTitle("")
|
||||
#else
|
||||
let modifiedDestination = destination
|
||||
#endif
|
||||
|
|
@ -51,7 +53,9 @@ struct GridCardNavigationLink: View {
|
|||
var body: some View {
|
||||
let destination = LinkItemDetailView(viewModel: LinkItemDetailViewModel(item: item, homeFeedViewModel: viewModel))
|
||||
#if os(iOS)
|
||||
let modifiedDestination = destination.navigationBarHidden(true)
|
||||
let modifiedDestination = destination
|
||||
.navigationBarHidden(true)
|
||||
.navigationTitle("")
|
||||
#else
|
||||
let modifiedDestination = destination
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue