Update DownloadsModule.tsx
This commit is contained in:
1 parent
778988de58
commit
4980254e89
1 file changed
+1
-1
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user