File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
feature-calls/src/main/kotlin/io/getstream/whatsappclone/calls Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ import androidx.lifecycle.ViewModel
2020import androidx.lifecycle.viewModelScope
2121import dagger.hilt.android.lifecycle.HiltViewModel
2222import io.getstream.whatsappclone.data.repository.CallHistoryRepository
23+ import io.getstream.whatsappclone.uistate.WhatsAppUserExtensive
2324import io.getstream.whatsappclone.uistate.WhatsAppUserUiState
25+ import javax.inject.Inject
2426import kotlinx.coroutines.flow.SharingStarted
2527import kotlinx.coroutines.flow.StateFlow
2628import kotlinx.coroutines.flow.flatMapLatest
2729import kotlinx.coroutines.flow.flowOf
2830import kotlinx.coroutines.flow.stateIn
29- import javax.inject.Inject
3031
3132@HiltViewModel
3233class WhatsAppCallsViewModel @Inject constructor(
@@ -39,7 +40,7 @@ class WhatsAppCallsViewModel @Inject constructor(
3940 if (it.isSuccess) {
4041 flowOf(
4142 WhatsAppUserUiState .Success (
42- io.getstream.whatsappclone.uistate. WhatsAppUserExtensive (it.getOrThrow())
43+ WhatsAppUserExtensive (it.getOrThrow())
4344 )
4445 )
4546 } else {
You can’t perform that action at this time.
0 commit comments