TF-3933 Avoid load font from google

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-08-01 18:10:56 +07:00
committed by Dat H. Pham
parent 1c04825367
commit 801b08bc90
31 changed files with 352 additions and 277 deletions
@@ -50,6 +50,7 @@ class EventBodyContentWidget extends StatelessWidget {
return HtmlContentViewerOnWeb(
widthContent: constraints.maxWidth,
contentHtml: content,
useDefaultFontStyle: true,
mailtoDelegate: onMailtoDelegateAction,
direction: AppUtils.getCurrentDirection(context),
scrollController: scrollController,
@@ -64,6 +65,7 @@ class EventBodyContentWidget extends StatelessWidget {
maxHtmlContentHeight: PlatformInfo.isIOS
? ConstantsUI.htmlContentMaxHeight
: null,
useDefaultFontStyle: true,
direction: AppUtils.getCurrentDirection(context),
onMailtoDelegateAction: onMailtoDelegateAction
);