mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-23 07:40:20 +01:00
remove useless code
This commit is contained in:
parent
44266bcb67
commit
15c610f9ad
@ -282,8 +282,6 @@ class VoiceBroadcastPlayerImpl @Inject constructor(
|
||||
playbackTracker.updatePausedAtPlaybackTime(voiceBroadcast.voiceBroadcastId, positionMillis, positionMillis.toFloat() / duration)
|
||||
}
|
||||
playingState == State.Playing || playingState == State.Buffering -> {
|
||||
stopPlayer()
|
||||
playbackTracker.updatePlayingAtPlaybackTime(voiceBroadcast.voiceBroadcastId, positionMillis, positionMillis.toFloat() / duration)
|
||||
startPlayback(positionMillis)
|
||||
}
|
||||
playingState == State.Idle || playingState == State.Paused -> {
|
||||
|
Loading…
Reference in New Issue
Block a user