mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
i cant figure that shit out so take it out
This commit is contained in:
parent
897e2c3193
commit
ce76ed1bfb
2 changed files with 20 additions and 1 deletions
|
@ -227,7 +227,8 @@
|
|||
"seeding": "Seeding",
|
||||
"stop_seeding": "Stop seeding",
|
||||
"resume_seeding": "Resume seeding",
|
||||
"options": "Manage"
|
||||
"options": "Manage",
|
||||
"alldebrid_size_not_supported": "Download info for AllDebrid is not supported yet"
|
||||
},
|
||||
"settings": {
|
||||
"downloads_path": "Downloads path",
|
||||
|
|
|
@ -112,6 +112,15 @@ export function DownloadGroup({
|
|||
);
|
||||
}
|
||||
|
||||
if (download.downloader === Downloader.AllDebrid) {
|
||||
return (
|
||||
<>
|
||||
<p>{progress}</p>
|
||||
<p>{t("alldebrid_size_not_supported")}</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<p>{progress}</p>
|
||||
|
@ -154,6 +163,15 @@ export function DownloadGroup({
|
|||
}
|
||||
|
||||
if (download.status === "active") {
|
||||
if (download.downloader === Downloader.AllDebrid) {
|
||||
return (
|
||||
<>
|
||||
<p>{formatDownloadProgress(download.progress)}</p>
|
||||
<p>{t("alldebrid_size_not_supported")}</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<p>{formatDownloadProgress(download.progress)}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue