🔀 Merge pull request #227 from LarveyOfficial/fix-progress-color

🐛Fix completed torrents progress color
This commit is contained in:
Thomas Camlong authored and GitHub committed 2022-06-15 06:51:06 +02:00
commit 7cb3dfbd16
1 file changed
+1 -1
@@ -158,7 +158,7 @@ export default function DownloadComponent() {
<Progress
radius="lg"
color={
torrent.state === 'paused' ? 'yellow' : torrent.progress === 1 ? 'green' : 'blue'
torrent.progress === 1 ? 'green' : torrent.state === 'paused' ? 'yellow' : 'blue'
}
value={torrent.progress * 100}
size="lg"