Skip to content

Commit

Permalink
Merge pull request #24 from marykravets/mary/improvements
Browse files Browse the repository at this point in the history
improvements
  • Loading branch information
JarvanMo authored May 5, 2021
2 parents 4a3047b + eb78da3 commit 591d8df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/src/neeko_fullscreen_player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ class __FullscreenPlayerState extends State<_FullscreenPlayer> {
}

_pop() {
Navigator.of(context).pop();
final NavigatorState state = Navigator.of(context);
if (state.canPop()) {
state.pop();
}
}
}
2 changes: 1 addition & 1 deletion lib/src/video_controller_wrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import 'package:video_player/video_player.dart';
class VideoControllerWrapper extends ValueNotifier<DataSource> {
VideoPlayerController get controller => _videoPlayerController;

List<VideoPlayerController> _controllerPool = [];
final List<VideoPlayerController> _controllerPool = [];

VideoPlayerController _videoPlayerController;

Expand Down

0 comments on commit 591d8df

Please sign in to comment.