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:
@@ -195,8 +195,8 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
final currentEmailLoaded = Rxn<EmailLoaded>();
|
||||
final isEmailContentClipped = RxBool(false);
|
||||
final attendanceStatus = Rxn<AttendanceStatus>();
|
||||
final htmlContentViewKey = GlobalKey<HtmlContentViewState>();
|
||||
|
||||
GlobalKey<HtmlContentViewState>? htmlContentViewKey;
|
||||
EmailId? _currentEmailId;
|
||||
Identity? _identitySelected;
|
||||
ButtonState? _printEmailButtonState;
|
||||
@@ -244,9 +244,6 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
void onInit() {
|
||||
_registerObxStreamListener();
|
||||
_listenDownloadAttachmentProgressState();
|
||||
if (PlatformInfo.isIntegrationTesting) {
|
||||
htmlContentViewKey = GlobalKey<HtmlContentViewState>();
|
||||
}
|
||||
super.onInit();
|
||||
}
|
||||
|
||||
@@ -254,9 +251,6 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
void onClose() {
|
||||
_downloadProgressStateController.close();
|
||||
_attachmentListScrollController.dispose();
|
||||
if (PlatformInfo.isIntegrationTesting) {
|
||||
htmlContentViewKey = null;
|
||||
}
|
||||
super.onClose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user