Show download progress only when started
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user