Update toast message when start download all attachment

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-07-10 10:12:09 +07:00
committed by Dat H. Pham
parent 8100e886d7
commit 88764f9e0f
3 changed files with 24 additions and 10 deletions
@@ -514,11 +514,12 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
);
if (currentOverlayContext != null && currentContext != null) {
appToast.showToastMessage(
appToast.showToastSuccessMessage(
currentOverlayContext!,
AppLocalizations.of(currentContext!).your_download_has_started,
leadingSVGIconColor: AppColor.primaryColor,
leadingSVGIcon: imagePaths.icDownload);
AppLocalizations.of(currentContext!).creatingAnArchiveForDownloading,
leadingSVGIconColor: Colors.white,
leadingSVGIcon: imagePaths.icDownloadAll,
);
}
} else if (success is DownloadingAllAttachmentsForWeb) {
final percent = success.progress.round();