Commit graph

23 commits

Author SHA1 Message Date
Tommy
9bfcd49037
Upgrade Flutter/Dart and dependencies (#265)
* Fix new lint issues

* Upgrade packages and remove `device_preview`

* Regenerate splash assets

* Migrate to `webview_flutter` 4.0

* Upgrade to Flutter 3.10 and Dart 3

* Update Podfile

* Fix video not disposing when leaving channel

* Remove `tuple` package

* Upgrade packages

* Upgrade packages

* Update podfile

* Upgrade packages

* Upgrade packages
2023-05-30 21:10:04 -04:00
Tommy
3af5406f60
Update linting and formatting rules (#261)
* Add new linting rules

* Apply new linting rules

* Fix dart sdk version

* Format code to 80 lines
2023-04-29 11:34:28 -04:00
Tommy Chow
9570d43e43
Add auto PiP on Android and redesign stream overlay (#218)
* Improve PiP behavior (Android)
Added the ability to enter PiP mode when leaving the app on Android.

* Add automatic PiP option

* Redesign video overlay

* Update stream card uptime counter

* Use gradient for overlay opacity

* Restore play button when paused on iOS

* Restore refresh button on overlay

* Prefer above for category tooltip

* Increase default overlay opacity to 80%

* Improve pip behavior

* Fix uptime setState after dispose

* Remove automatic pip option
Redundant since you can disable it in system settings

* Check if `setAutoEnterEnabled` is available

* Fix missing pip auto enter

* Disable auto pip when leaving channel

* Fix pip exception on iOS
2022-12-27 23:47:55 -05:00
Tommy Chow
53fabd067a
Restructure folders (#184)
* Split up `video_chat.dart`

* Restructure home folder

* Restructure settings folder

* Restructure channel folder

* More restructuring
2022-08-31 14:11:45 -04:00
Tommy Chow
07c260def5 Move video and overlay to the same file (#130) 2022-06-03 17:19:40 -04:00
tommyxchow
e98284be28 Refactor video/chat 2022-01-23 20:13:48 -05:00
Tommy Chow
f72f6fc0f6 Add dismiss emote menu when tapping video 2022-01-19 16:50:03 -05:00
tommyxchow
9faa4bbecc Add dismiss keyboard when tapping player
Thanks to /u/Icoryx for reporting!
2022-01-19 16:14:23 -05:00
Tommy Chow
5bc4217f32 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
2022-01-11 00:45:43 -05:00
Tommy Chow
8e5f51fe88 Fix white flash when player starts 2022-01-09 20:54:50 -05:00
Tommy Chow
ccd9e9efc0 Fix overlay toggle update not taking effect 2022-01-09 20:02:45 -05:00
Tommy Chow
1f604af657 Fix pause/play on video overlay & add toggle 2022-01-09 19:51:38 -05:00
tommyxchow
2ca1221fb1 Restructure folders 2022-01-07 21:56:45 -05:00
Tommy Chow
02a559a7b2 Refactor settings & add thumbnail uptime option 2022-01-03 22:58:23 -05:00
Tommy Chow
d6e82bc1a3 Remove bottom safearea in landscape, fixes 2021-12-30 04:07:49 -05:00
Tommy Chow
6c9f02274a Minor provider refactor 2021-12-28 03:14:08 -05:00
tommyxchow
039c12bdd7 Fix bottom safe area on chat 2021-12-26 03:43:50 -05:00
tommyxchow
89b54ff08e Add universal fullscreen option & minor fixes
Reverted to hybrid composition for webview due to pausing on Android
when rotating. Tradeoff is screen flicker/flash when toggling video.
2021-12-25 22:35:10 -05:00
tommyxchow
15583950bc Add title and game name to video overlay 2021-12-23 20:08:17 -05:00
tommyxchow
7fef2e7225 Add option to enable/disable video overlay 2021-12-20 18:26:25 -05:00
tommyxchow
3285639bc1 Add emote menu widget (#47) 2021-12-12 16:06:08 -05:00
tommyxchow
7e533da205 Upgrade to Flutter 2.8 2021-12-10 01:34:00 -05:00
tommyxchow
a6654d9b89 Restructure 2021-11-21 23:29:47 -05:00
Renamed from lib/widgets/video.dart (Browse further)