Update mui dependencies

This commit is contained in:
schroda
2024-09-03 17:15:47 +02:00
parent 161a2bb657
commit d1d37c8516
37 changed files with 349 additions and 166 deletions

View File

@@ -46,7 +46,13 @@ export const DownloadStateIndicator = ({ download }: { download: ChapterDownload
justifyContent: 'center',
}}
>
<Typography variant="caption" component="div" color="text.secondary">
<Typography
variant="caption"
component="div"
sx={{
color: 'text.secondary',
}}
>
<>
{download.progress !== 0 && `${Math.round(download.progress * 100)}%`}
{download.progress === 0 && t(DOWNLOAD_STATE_TO_TRANSLATION_KEY_MAP[download.state])}