Merge pull request #235 from ente-io/improve-web-view-transitions
Use black background to improve navigation transitions to web views
This commit is contained in:
commit
cb4300c75d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class _WebPageState extends State<WebPage> {
|
||||||
title: Text(widget.title),
|
title: Text(widget.title),
|
||||||
actions: [_hasLoadedPage ? Container() : loadWidget],
|
actions: [_hasLoadedPage ? Container() : loadWidget],
|
||||||
),
|
),
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.black,
|
||||||
body: InAppWebView(
|
body: InAppWebView(
|
||||||
initialUrlRequest: URLRequest(url: Uri.parse(widget.url)),
|
initialUrlRequest: URLRequest(url: Uri.parse(widget.url)),
|
||||||
initialOptions: InAppWebViewGroupOptions(
|
initialOptions: InAppWebViewGroupOptions(
|
||||||
|
|
Loading…
Add table
Reference in a new issue