Explorar o código

Merge pull request #235 from ente-io/improve-web-view-transitions

Use black background to improve navigation transitions to web views
Neeraj Gupta %!s(int64=3) %!d(string=hai) anos
pai
achega
cb4300c75d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/ui/web_page.dart

+ 1 - 1
lib/ui/web_page.dart

@@ -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(