Update to server download subscription changes

This commit is contained in:
schroda
2024-11-28 12:17:55 +01:00
parent 61ae717e9a
commit a819d45489
9 changed files with 215 additions and 40 deletions
@@ -57,7 +57,7 @@ export const DownloadStateIndicator = ({ download }: { download: ChapterDownload
}}
>
<>
{isDownloading && `${Math.round(download.progress * 100)}%`}
{(isDownloading || isPartiallyDownloaded) && `${Math.round(download.progress * 100)}%`}
{!isDownloading &&
!isPartiallyDownloaded &&
t(DOWNLOAD_STATE_TO_TRANSLATION_KEY_MAP[download.state])}