TF-4128 Separate download handling into independent class to decouple from views on web

This commit is contained in:
dab246
2025-10-28 16:44:40 +07:00
committed by Dat H. Pham
parent 832f8e1391
commit be8eaf6258
37 changed files with 955 additions and 1095 deletions
@@ -320,7 +320,7 @@ class EmailPreviewerController extends ReloadableController {
attachment,
_accountId!,
_session!.getDownloadUrl(jmapUrl: dynamicUrlInterceptors.jmapUrl),
_downloadAttachmentStreamController!)
onReceiveController: _downloadAttachmentStreamController!)
.listen(_handleDownloadAttachmentViewState);
} catch (e) {
logError('EmailPreviewerController::_handleParseEmailByBlobIdSuccess(): $e');