pop read now link when archiving or deleting from reader
This commit is contained in:
committed by
Jackson Harper
parent
9e88a11dda
commit
8460ba1cea
@ -89,6 +89,7 @@ import WebKit
|
||||
Button(
|
||||
action: {
|
||||
dataService.archiveLink(objectID: item.objectID, archived: !item.isArchived)
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
Snackbar.show(message: !item.isArchived ? "Link archived" : "Link moved to Inbox")
|
||||
},
|
||||
label: {
|
||||
@ -122,6 +123,7 @@ import WebKit
|
||||
Button("Remove Link", role: .destructive) {
|
||||
Snackbar.show(message: "Link removed")
|
||||
dataService.removeLink(objectID: item.objectID)
|
||||
presentationMode.wrappedValue.dismiss()
|
||||
}
|
||||
Button("Cancel", role: .cancel, action: {})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user