Skip to content

Commit

Permalink
test: release modes (fixes bluefireteam#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustl22 committed Sep 2, 2022
1 parent 7051037 commit 03d7443
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,7 @@ class _PlayerWidgetState extends State<PlayerWidget> {
);

_playerCompleteSubscription = player.onPlayerComplete.listen((event) {
player.stop();
setState(() {
_playerState = PlayerState.stopped;
_position = _duration;
});
_stop();
});

_playerStateChangeSubscription =
Expand Down

0 comments on commit 03d7443

Please sign in to comment.