Theme improvements & fixes

- Added new light theme
- Added readable colors for light theme
- Changed theme settings to use dropdown button
- Fixed state disposing prematurely when rotating
This commit is contained in:
Tommy Chow 2022-01-11 00:45:43 -05:00
parent a7b9d3a30d
commit 5bc4217f32
18 changed files with 144 additions and 84 deletions

View file

@ -27,7 +27,7 @@ class Video extends StatelessWidget {
return Stack(
children: [
WebView(
backgroundColor: const Color(0x00000000),
backgroundColor: Colors.black,
initialUrl: 'https://player.twitch.tv/?channel=$userLogin&controls=false&muted=false&parent=frosty',
javascriptMode: JavascriptMode.unrestricted,
allowsInlineMediaPlayback: true,
@ -86,7 +86,7 @@ class Video extends StatelessWidget {
);
}
return WebView(
backgroundColor: const Color(0x00000000),
backgroundColor: Colors.black,
initialUrl: 'https://player.twitch.tv/?channel=$userLogin&muted=false&parent=frosty',
javascriptMode: JavascriptMode.unrestricted,
allowsInlineMediaPlayback: true,