Skip to content

Commit

Permalink
feat(bufferapi): fix unnecessary check on safe call on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
123mpozzi committed Oct 23, 2023
1 parent 1aa5620 commit eb22eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class BufferModule(private val context: ReactApplicationContext) : ReactContextB
player.buffer.getLevel(bufferType, MediaType.Audio),
player.buffer.getLevel(bufferType, MediaType.Video),
)
JsonConverter.fromRNBufferLevels(bufferLevels)?.let {
JsonConverter.fromRNBufferLevels(bufferLevels).let {
promise.resolve(it)
}
}
Expand Down

0 comments on commit eb22eed

Please sign in to comment.