Skip to content

Commit

Permalink
try fixing build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GniN committed Dec 6, 2024
1 parent 4f70427 commit c6d83de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile_flutter/wlanthermo_flutter_app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ class _MyAppState extends State<MyApp> {
InAppWebView(
key: webViewKey,
initialUrlRequest: URLRequest(
url: Uri.dataFromString(widget.htmlString,
url: WebUri.uri(Uri.dataFromString(widget.htmlString,
mimeType: 'text/html',
encoding: Encoding.getByName('utf-8'))),
encoding: Encoding.getByName('utf-8')))),
initialOptions: options,
pullToRefreshController: pullToRefreshController,
onWebViewCreated: (controller) {
Expand Down

0 comments on commit c6d83de

Please sign in to comment.