mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +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…
Reference in a new issue