feat: enhance mixed media support and add duplicate resolution

This commit is contained in:
nimbold
2026-06-08 05:37:27 +03:30
parent 34ca209e09
commit baddf0da6d
9 changed files with 302 additions and 96 deletions
+7
View File
@@ -106,6 +106,13 @@ struct DownloadTable: View {
.environment(\.defaultMinListRowHeight, settings.listRowDensity.minRowHeight)
.contextMenu(forSelectionType: DownloadItem.ID.self) { itemIDs in
rowContextMenu(for: itemIDs)
} primaryAction: { itemIDs in
let targetItems = controller.downloads.filter { itemIDs.contains($0.id) }
for target in targetItems {
if target.status == .completed {
openFile(target)
}
}
}
.overlay {
if items.isEmpty {