dm-42
This commit is contained in:
parent
574a42dc33
commit
37ceca47b4
1 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,9 @@ class ChatViewModel @Inject constructor(
|
|||
private val tokenManager: TokenManager
|
||||
) : ViewModel() {
|
||||
|
||||
private val _replyingMessage = MutableStateFlow<Message?>(null)
|
||||
val replyingMessage: StateFlow<Message?> = _replyingMessage.asStateFlow()
|
||||
|
||||
//UI state var
|
||||
private val _uiState = MutableStateFlow<MessagesUiState>(MessagesUiState.Loading)
|
||||
val uiState: StateFlow<MessagesUiState> = _uiState.asStateFlow()
|
||||
|
|
|
|||
Loading…
Reference in a new issue