Skip to content

Commit

Permalink
Revert "remove unnecessary cast"
Browse files Browse the repository at this point in the history
This reverts commit 90b205b.
  • Loading branch information
Gustl22 committed Aug 11, 2024
1 parent c693bd3 commit 4807bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/audioplayers_web/lib/wrapped_player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class WrappedPlayer {
}

void pause() {
_pausedAt = player?.currentTime;
_pausedAt = player?.currentTime as double?;
_isPlaying = false;
player?.pause();
}
Expand Down

0 comments on commit 4807bfd

Please sign in to comment.