TF-2160 Fix email content is cut off
(cherry picked from commit 045cd382add2538858b24491b41bd597371239c8)
This commit is contained in:
@@ -1297,19 +1297,12 @@ class ComposerController extends BaseController {
|
||||
final session = mailboxDashBoardController.sessionCurrent;
|
||||
final accountId = mailboxDashBoardController.accountId.value;
|
||||
if (session != null && accountId != null) {
|
||||
TransformConfiguration transformConfiguration = TransformConfiguration.forComposeEmail();
|
||||
if (isDraftEmail) {
|
||||
transformConfiguration = TransformConfiguration.forDraftsEmail();
|
||||
} else if (PlatformInfo.isWeb) {
|
||||
transformConfiguration = TransformConfiguration.forComposeEmailPlatformWeb();
|
||||
}
|
||||
|
||||
consumeState(_getEmailContentInteractor.execute(
|
||||
session,
|
||||
accountId,
|
||||
emailId,
|
||||
mailboxDashBoardController.baseDownloadUrl,
|
||||
transformConfiguration
|
||||
TransformConfiguration.empty()
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user