mirror of
https://github.com/git-touch/git-touch
synced 2025-02-02 17:07:06 +01:00
parent
378d406d37
commit
fb3ed14b4f
@ -48,8 +48,8 @@ class _HtmlViewState extends State<HtmlView> {
|
|||||||
encoding: Encoding.getByName('utf-8'),
|
encoding: Encoding.getByName('utf-8'),
|
||||||
);
|
);
|
||||||
return Container(
|
return Container(
|
||||||
height:
|
height: height ??
|
||||||
height ?? 0.01, // 0 would return the wrong height on page finished.
|
1, // must be integer(android). 0 would return the wrong height on page finished.
|
||||||
child: WebView(
|
child: WebView(
|
||||||
initialUrl: uri.toString(),
|
initialUrl: uri.toString(),
|
||||||
javascriptMode: JavascriptMode.unrestricted,
|
javascriptMode: JavascriptMode.unrestricted,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user