terry-staging #11

Merged
terry merged 37 commits from terry-staging into main 2026-05-29 19:29:58 +00:00
4 changed files with 0 additions and 4 deletions
Showing only changes of commit 4e5093cae0 - Show all commits

View File

@@ -108,7 +108,6 @@ function PopularRankRow({
r.downloadAttachmentId, r.downloadAttachmentId,
r.title, r.title,
); );
showToast(t("downloadOk"));
} catch { } catch {
showToast(t("downloadFail"), "error"); showToast(t("downloadFail"), "error");
} finally { } finally {

View File

@@ -85,7 +85,6 @@ export function RecommendedCard({
} else { } else {
await downloadFile(dl, displayTitle); await downloadFile(dl, displayTitle);
} }
showToast(t("downloadOk"));
} catch { } catch {
showToast(t("downloadFail"), "error"); showToast(t("downloadFail"), "error");
} finally { } finally {

View File

@@ -27,7 +27,6 @@ function AttachmentRow({ postId, att }: { postId: string; att: Attachment }) {
setIsDownloading(true); setIsDownloading(true);
try { try {
await downloadAttachment(postId, att.id, displayFilename); await downloadAttachment(postId, att.id, displayFilename);
showToast(t("downloadOk"));
} catch { } catch {
showToast(t("downloadFail"), "error"); showToast(t("downloadFail"), "error");
} finally { } finally {

View File

@@ -94,7 +94,6 @@ function LightboxDownloadButton({
setIsDownloading(true); setIsDownloading(true);
try { try {
await downloadAttachment(postId, attachment.id, attachment.filename); await downloadAttachment(postId, attachment.id, attachment.filename);
showToast(t("downloadOk"));
} catch { } catch {
showToast(t("downloadFail"), "error"); showToast(t("downloadFail"), "error");
} finally { } finally {