mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Correct the archive icon
This commit is contained in:
parent
6617fa8413
commit
82db51b24e
1 changed files with 6 additions and 1 deletions
|
|
@ -15,7 +15,12 @@ import Views
|
|||
)
|
||||
Button(
|
||||
action: { viewModel.setLinkArchived(dataService: dataService, objectID: item.objectID, archived: !item.isArchived) },
|
||||
label: { Label(item.isArchived ? "Unarchive" : "Archive", systemImage: "inbox") }
|
||||
label: {
|
||||
Label(
|
||||
item.isArchived ? "Unarchive" : "Archive",
|
||||
systemImage: item.isArchived ? "tray.and.arrow.down.fill" : "archivebox"
|
||||
)
|
||||
}
|
||||
)
|
||||
Button(
|
||||
action: { viewModel.removeLibraryItem(dataService: dataService, objectID: item.objectID) },
|
||||
|
|
|
|||
Loading…
Reference in a new issue