Update DownloadsModule.tsx

This commit is contained in:
Larvey
2022-06-14 21:14:26 -04:00
parent 778988de58
commit 4980254e89

View File

@@ -158,7 +158,7 @@ export default function DownloadComponent() {
<Progress <Progress
radius="lg" radius="lg"
color={ color={
torrent.state === 'paused' ? 'yellow' : torrent.progress === 1 ? 'green' : 'blue' torrent.progress === 1 ? 'green' : torrent.state === 'paused' ? 'yellow' : 'blue'
} }
value={torrent.progress * 100} value={torrent.progress * 100}
size="lg" size="lg"