Skip to content

Commit

Permalink
TF-1895 Fix the screen seem be black before loading the email content…
Browse files Browse the repository at this point in the history
… successfully
  • Loading branch information
dab246 committed Jul 10, 2023
1 parent 25c7721 commit 88acaca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ class _HtmlContentViewState extends State<HtmlContentViewer> {
}
return InAppWebView(
key: ValueKey(htmlData),
initialSettings: InAppWebViewSettings(
transparentBackground: true,
),
onWebViewCreated: (controller) async {
_webViewController = controller;
controller.loadData(data: htmlData);
Expand Down

0 comments on commit 88acaca

Please sign in to comment.