mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fixes for iOS15
This commit is contained in:
parent
b714fe1f94
commit
b8e033f736
2 changed files with 4 additions and 7 deletions
|
|
@ -43,13 +43,9 @@ struct LibraryTabView: View {
|
|||
)
|
||||
|
||||
var body: some View {
|
||||
if #available(iOS 16.0, *) {
|
||||
NavigationView {
|
||||
HomeView(viewModel: libraryViewModel)
|
||||
}
|
||||
} else {
|
||||
// Fallback on earlier versions
|
||||
EmptyView()
|
||||
NavigationView {
|
||||
HomeView(viewModel: libraryViewModel)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ import Views
|
|||
.sheet(isPresented: $addLinkPresented) {
|
||||
NavigationView {
|
||||
LibraryAddLinkView()
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue