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:
Neeraj Gupta 2022-05-10 06:26:53 +05:30 committed by GitHub
commit cb4300c75d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ class _WebPageState extends State<WebPage> {
title: Text(widget.title),
actions: [_hasLoadedPage ? Container() : loadWidget],
),
backgroundColor: Colors.transparent,
backgroundColor: Colors.black,
body: InAppWebView(
initialUrlRequest: URLRequest(url: Uri.parse(widget.url)),
initialOptions: InAppWebViewGroupOptions(