Commit graph

9 commits

Author SHA1 Message Date
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta c021c3ebe8
force dark theme for webpage's appBar 2022-05-17 01:33:47 +05:30
Manav 3515498711 Use black background to improve navigation transitions to web views
By default, the web view uses a white background. This was causing an
ugly flash during the initial navigation to a page containing a web
view.

This was fixed by setting the web view's background to transparent in
https://github.com/ente-io/frame/pull/233/files.

That fixed the white flash. But when we use a transparent background,
it causesanother different sort of weirdness -- during the navigation,
the navigation bar remains visible, but the rest of the new screen
below remains transparent. So visually it looks as if only the
navigation bar is sliding in from the right.

The issue with fixing a color is that at some point, our web pages
will start having separate light/dark modes, and the background color
won't be fixed always. Currently though, we only have dark mode
pages. And also the app is only in dark mode, with a black
background. So using black as the background solves the navigation
weirdness, and also doesn't stray too much from the eventual color of
the rendered page.
2022-05-09 23:49:58 +05:30
Neeraj Gupta ebf7590e8a
Set webview bg as transparent 2022-05-09 20:21:15 +05:30
Vishnu Mohandas eb5705df36 Revert "Switch to older version of WebView"
This reverts commit cdd814cdbd.
2021-05-25 17:46:42 +05:30
Vishnu Mohandas cdd814cdbd Switch to older version of WebView 2021-05-25 17:30:48 +05:30
Vishnu Mohandas 0592ed04b0 Upgrade ALL packages! 2021-05-02 21:35:36 +05:30
Vishnu Mohandas 59fcff6141 Add in-app webview 2021-01-08 14:54:15 +05:30