fix: fixed README.md (#245)

This commit is contained in:
Timilehin Jegede 2020-11-16 01:45:09 +01:00 committed by GitHub
parent 1ca402a3f4
commit 1cba57f909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -138,11 +138,11 @@ Listening to state changes:
player.playerStateStream.listen((state) { player.playerStateStream.listen((state) {
if (state.playing) ... else ... if (state.playing) ... else ...
switch (state.processingState) { switch (state.processingState) {
case AudioPlaybackState.none: ... case ProcessingState.none: ...
case AudioPlaybackState.loading: ... case ProcessingState.loading: ...
case AudioPlaybackState.buffering: ... case ProcessingState.buffering: ...
case AudioPlaybackState.ready: ... case ProcessingState.ready: ...
case AudioPlaybackState.completed: ... case ProcessingState.completed: ...
} }
}); });