mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Ignore the bottom safe area in the iOS reader
This commit is contained in:
parent
8f0f09084c
commit
aa33eef677
2 changed files with 3 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ struct LinkItemDetailView: View {
|
|||
#endif
|
||||
}
|
||||
}
|
||||
.ignoresSafeArea(.all, edges: .bottom)
|
||||
.task {
|
||||
await viewModel.loadItem(linkedItemObjectID: linkedItemObjectID, dataService: dataService)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -570,6 +570,7 @@ struct WebReaderContainerView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if os(iOS)
|
||||
VStack(spacing: 0) {
|
||||
navBar
|
||||
|
|
@ -620,6 +621,7 @@ struct WebReaderContainerView: View {
|
|||
.animation(.spring())
|
||||
.isOpaque(false)
|
||||
}
|
||||
.ignoresSafeArea(.all, edges: .bottom)
|
||||
.onReceive(NSNotification.readerSnackBarPublisher) { notification in
|
||||
if let message = notification.userInfo?["message"] as? String {
|
||||
viewModel.snackbarOperation = SnackbarOperation(message: message,
|
||||
|
|
|
|||
Loading…
Reference in a new issue