Ignore the bottom safe area in the iOS reader

This commit is contained in:
Jackson Harper
2023-11-22 19:10:00 +08:00
parent 8f0f09084c
commit aa33eef677
2 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,7 @@ struct LinkItemDetailView: View {
#endif
}
}
.ignoresSafeArea(.all, edges: .bottom)
.task {
await viewModel.loadItem(linkedItemObjectID: linkedItemObjectID, dataService: dataService)
}

View File

@ -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,