Allow downloading multiple images into one directory

Co-authored-by: Major-Mayer <lrdarknesss@yahoo.de>
This commit is contained in:
Scott Nonnenberg 2024-10-24 07:44:12 +10:00 committed by GitHub
parent 35946ef53c
commit 76e2597d30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 282 additions and 24 deletions

View file

@ -88,6 +88,16 @@ export function renderToast({
);
}
if (toastType === ToastType.AttachmentDownloadStillInProgress) {
return (
<Toast onClose={hideToast}>
{i18n('icu:attachmentStillDownloading', {
count: toast.parameters.count,
})}
</Toast>
);
}
if (toastType === ToastType.Blocked) {
return <Toast onClose={hideToast}>{i18n('icu:unblockToSend')}</Toast>;
}
@ -310,7 +320,9 @@ export function renderToast({
},
}}
>
{i18n('icu:attachmentSaved')}
{i18n('icu:attachmentSavedPlural', {
count: toast.parameters.countOfFiles ?? 1,
})}
</Toast>
);
}