Update readme (#497)
This commit is contained in:
committed by
Matt Apperson
parent
c56fd2d908
commit
5a4730cb8c
@@ -33,7 +33,7 @@ https://github.com/google/ExoPlayer
|
||||
this.setState({ pause: true })
|
||||
}
|
||||
|
||||
onAudioFocusChanged(event: { hasAudioFocus: boolean }) {
|
||||
onAudioFocusChanged = (event: { hasAudioFocus: boolean }) => {
|
||||
if (!this.state.paused && !event.hasAudioFocus) {
|
||||
this.setState({ paused: true })
|
||||
}
|
||||
|
Reference in New Issue
Block a user