Fixed badge briefly visible when terminating conference
This commit is contained in:
parent
e468573551
commit
36286b0259
1 changed files with 2 additions and 1 deletions
|
@ -314,6 +314,7 @@ class CallsViewModel : ViewModel() {
|
|||
|
||||
private fun updateInactiveCallsCount() {
|
||||
// TODO: handle local conference
|
||||
inactiveCallsCount.value = coreContext.core.callsNb - 1
|
||||
val callsNb = coreContext.core.callsNb
|
||||
inactiveCallsCount.value = if (callsNb > 0) callsNb - 1 else 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue