diff options
| author | Fuwn <[email protected]> | 2025-03-02 04:59:00 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-02 04:59:00 -0800 |
| commit | ec6f6e766b878ec7f11f4f404570768c37486ad5 (patch) | |
| tree | 45cbf47f3f7b9ee48f50fd1649ea46b09bebda6b /Sora/Views/GenericItemView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-ec6f6e766b878ec7f11f4f404570768c37486ad5.tar.xz sora-testing-ec6f6e766b878ec7f11f4f404570768c37486ad5.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/GenericItemView.swift')
| -rw-r--r-- | Sora/Views/GenericItemView.swift | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Sora/Views/GenericItemView.swift b/Sora/Views/GenericItemView.swift index 34ce88a..ec8deaa 100644 --- a/Sora/Views/GenericItemView.swift +++ b/Sora/Views/GenericItemView.swift @@ -16,17 +16,17 @@ struct GenericItemView<T: ItemViewModel>: View { Text("On \(item.date.formatted()) from \(item.provider.rawValue)") .font(.caption) .foregroundStyle(Color.secondary) - } - - Spacer() + Spacer() + } + } + .contextMenu { Button { removeAction(item.id) } label: { - Image(systemName: "trash") + Label("Remove", systemImage: "trash") } } - .padding() #else VStack(alignment: .leading) { Text(item.tags.joined(separator: ", ").lowercased()) |