Show download progress only when started

This commit is contained in:
schroda
2024-08-21 21:29:59 +02:00
parent a819d45489
commit 55dc1aa6a5

View File

@@ -36,7 +36,7 @@ export const DownloadStateIndicator = ({ download }: { download: ChapterDownload
justifyContent: 'center', justifyContent: 'center',
}} }}
> >
{download.progress !== 0 && <CircularProgress variant="determinate" value={download.progress * 100} />} {isDownloading && <CircularProgress variant="determinate" value={download.progress * 100} />}
<Box <Box
sx={{ sx={{
top: 0, top: 0,