diff --git a/src/components/TorrentDetailsPanel.tsx b/src/components/TorrentDetailsPanel.tsx index bda0d72..af7dbc6 100644 --- a/src/components/TorrentDetailsPanel.tsx +++ b/src/components/TorrentDetailsPanel.tsx @@ -269,7 +269,7 @@ function GeneralTab({ hash, category, tags }: { hash: string; category: string; Edit - {properties.download_path && properties.download_path !== properties.save_path && ( + {properties.download_path && (properties.download_path !== properties.save_path || properties.pieces_have < properties.pieces_num) && (
@@ -906,3 +906,4 @@ export function TorrentDetailsPanel({ hash, name, category, tags, expanded, onTo } + diff --git a/src/mobile/MobileTorrentDetail.tsx b/src/mobile/MobileTorrentDetail.tsx index 909c30e..aa4990f 100644 --- a/src/mobile/MobileTorrentDetail.tsx +++ b/src/mobile/MobileTorrentDetail.tsx @@ -308,7 +308,7 @@ export function MobileTorrentDetail({ torrentHash, instanceId, onClose }: Props) onEdit={() => openPathEditor('savePath')} editDisabled={pathMutationPending} /> - {torrent.download_path && torrent.download_path !== torrent.save_path && ( + {torrent.download_path && (torrent.download_path !== torrent.save_path || torrent.progress < 1) && (