Skip to content

Commit 1c273b9

Browse files
authored
Merge branch 'master' into feat/torrent-details-bottom-panel
2 parents 824f681 + cef2a97 commit 1c273b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/services/Neptune/clientGatewayService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class NeptuneClientGatewayService extends ClientGatewayService {
267267
);
268268

269269
const isComplete = torrent.state === 'Seeding';
270-
const isActive = torrent.state === 'Downloading' || torrent.state === 'Seeding';
270+
const isActive = torrent.upload_rate > 0 && torrent.download_rate > 0;
271271

272272
const trackerErrorMessages = Object.values(torrent.tracker_errors ?? {}).filter(Boolean);
273273
const trackerMessage = trackerErrorMessages.find((m) => m.length > 0) ?? '';

0 commit comments

Comments
 (0)