Fix appear save draft dialog when reload editing composer

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-01 00:50:53 +07:00
committed by Dat H. Pham
parent 9410de9399
commit 0b9bb3530c
13 changed files with 93 additions and 21 deletions
@@ -62,4 +62,13 @@ class HtmlDataSourceImpl extends HtmlDataSource {
);
}).catchError(_exceptionThrower.throwException);
}
@override
Future<String> removeStyleLazyLoadDisplayInlineImages({required String emailContent}) {
return Future.sync(() async {
return await _htmlAnalyzer.removeStyleLazyLoadDisplayInlineImages(
emailContent: emailContent,
);
}).catchError(_exceptionThrower.throwException);
}
}