mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
pop read now link when archiving or deleting from reader
This commit is contained in:
parent
9e88a11dda
commit
8460ba1cea
1 changed files with 2 additions and 0 deletions
|
|
@ -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: {})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue