fix: navigating back from full screen video

pull/691/head
Aryan Arora 2 years ago
parent 9c6db3de42
commit 0214256eda

@ -59,6 +59,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
); );
} else if (!kIsWeb && tmpFile != null && _chewieManager == null) { } else if (!kIsWeb && tmpFile != null && _chewieManager == null) {
_chewieManager ??= ChewieController( _chewieManager ??= ChewieController(
useRootNavigator: false,
videoPlayerController: VideoPlayerController.file(tmpFile), videoPlayerController: VideoPlayerController.file(tmpFile),
autoPlay: true, autoPlay: true,
autoInitialize: true, autoInitialize: true,

Loading…
Cancel
Save