Skip to content

Commit

Permalink
removed dead commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
kunstmusik committed Sep 18, 2023
1 parent 8d581a2 commit ef37dc4
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ class _AudioPlayerWidgetState extends State<AudioPlayerWidget>
});

_playStateListener = player.playerStateStream.listen((event) {
// logger.d('Player state: $event');
if (event.processingState == ProcessingState.completed) {
player.stop();
}
Expand Down Expand Up @@ -413,11 +412,6 @@ class _AudioPlayerWidgetState extends State<AudioPlayerWidget>
child: CircularProgressIndicator(),
),
)
// : _loadState == LoadState.failed
// ? const Center(
// child: Text('Failed to load audio'),
// )
// :
: Column(children: [
Expanded(
child: Stack(
Expand Down

0 comments on commit ef37dc4

Please sign in to comment.