mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
replace negation "!" with ".not()"
This commit is contained in:
parent
d9454af63e
commit
3239ec5d1f
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ class VoiceBroadcastPlayerImpl @Inject constructor(
|
|||
private fun updateLiveListeningMode(seekPosition: Int? = null) {
|
||||
isLiveListening = when {
|
||||
// the current voice broadcast is not live (ended)
|
||||
!currentVoiceBroadcastEvent?.isLive.orFalse() -> false
|
||||
currentVoiceBroadcastEvent?.isLive?.not().orFalse() -> false
|
||||
// the player is stopped or paused
|
||||
playingState == State.IDLE || playingState == State.PAUSED -> false
|
||||
seekPosition != null -> {
|
||||
|
|
Loading…
Add table
Reference in a new issue