Rename CurrentCallObserver to CurrentCallService

This commit is contained in:
Benoit Marty 2024-11-06 17:24:26 +01:00
parent 4c9662887f
commit 2b5acb3023
7 changed files with 23 additions and 23 deletions

View file

@ -8,12 +8,12 @@
package io.element.android.features.call.test
import io.element.android.features.call.api.CurrentCall
import io.element.android.features.call.api.CurrentCallObserver
import io.element.android.features.call.api.CurrentCallService
import kotlinx.coroutines.flow.MutableStateFlow
class FakeCurrentCallObserver(
class FakeCurrentCallService(
initialValue: CurrentCall = CurrentCall.None,
) : CurrentCallObserver {
) : CurrentCallService {
override val currentCall = MutableStateFlow(initialValue)
fun setCurrentCall(value: CurrentCall) {