Upgrade Twake Mail Flutter to v3.24.5

Revert "fixup! Upgrade Twake Mail Flutter to v3.24.5"

This reverts commit 0a597753a92b658ec17b0578ed488584d7c514d4.
This commit is contained in:
DatDang
2025-01-09 15:48:58 +07:00
committed by Dat H. Pham
parent 29e8fa770e
commit 69fa8d2dce
38 changed files with 308 additions and 277 deletions
@@ -886,9 +886,7 @@ class IdentityCreatorController extends BaseController with DragDropFileMixin im
clearFocusEditor(context);
final listFileInfo = await onDragDone(context: context, details: details);
if (!context.mounted) return;
await _uploadMultipleFilesToPublicAsset(
context,
listFileInfo,
@@ -934,12 +932,15 @@ class IdentityCreatorController extends BaseController with DragDropFileMixin im
await Future.forEach(
listCompressedImages,
(platformFile) => _insertInlineImage(
context,
platformFile,
maxWidth.toInt(),
compressedFile: platformFile
)
(platformFile) {
if (!context.mounted) return null;
return _insertInlineImage(
context,
platformFile,
maxWidth.toInt(),
compressedFile: platformFile
);
}
);
} catch (e) {
logError("IdentityCreatorController::_uploadMultipleFilesToPublicAsset: error: $e");