Make warning message on reader match library

This commit is contained in:
Jackson Harper
2022-11-18 13:06:22 +08:00
committed by Hongbo Wu
parent 062215afa4
commit 2e7b7c1bb5
2 changed files with 25 additions and 3 deletions

View File

@ -257,8 +257,9 @@ struct WebReaderContainerView: View {
.frame(height: readerViewNavBarHeight * navBarVisibilityRatio)
.opacity(navBarVisibilityRatio)
.background(Color.systemBackground)
.alert("Are you sure?", isPresented: $showDeleteConfirmation) {
Button("Remove Link", role: .destructive) {
.alert("Are you sure you want to remove this item? All associated notes and highlights will be deleted.",
isPresented: $showDeleteConfirmation) {
Button("Remove Item", role: .destructive) {
Snackbar.show(message: "Link removed")
dataService.removeLink(objectID: item.objectID)
#if os(iOS)