Ignore the bottom safe area in the iOS reader
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user