TF-3622 Fix build E2E test for case deformed inlined image fail on CI
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -447,7 +447,9 @@ class EmailView extends GetWidget<SingleEmailController> {
|
||||
),
|
||||
child: LayoutBuilder(builder: (context, constraints) {
|
||||
return HtmlContentViewer(
|
||||
key: controller.htmlContentViewKey,
|
||||
key: PlatformInfo.isIntegrationTesting
|
||||
? controller.htmlContentViewKey
|
||||
: null,
|
||||
contentHtml: allEmailContents,
|
||||
initialWidth: constraints.maxWidth,
|
||||
direction: AppUtils.getCurrentDirection(context),
|
||||
@@ -487,7 +489,9 @@ class EmailView extends GetWidget<SingleEmailController> {
|
||||
),
|
||||
child: LayoutBuilder(builder: (context, constraints) {
|
||||
return HtmlContentViewer(
|
||||
key: controller.htmlContentViewKey,
|
||||
key: PlatformInfo.isIntegrationTesting
|
||||
? controller.htmlContentViewKey
|
||||
: null,
|
||||
contentHtml: allEmailContents,
|
||||
initialWidth: constraints.maxWidth,
|
||||
direction: AppUtils.getCurrentDirection(context),
|
||||
|
||||
Reference in New Issue
Block a user