Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabtron committed Jan 23, 2024
1 parent 0ba5e00 commit e394f2c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class DetailsAccountViewModel @Inject constructor(
savedStateHandle: SavedStateHandle,
) : ViewModel(), DefaultLifecycleObserver {

private var _uiState = MutableStateFlow(UiState2(isLoading = true))
val uiState: StateFlow<UiState2> = _uiState.asStateFlow()
private var _uiState = MutableStateFlow(UiState(isLoading = true))
val uiState: StateFlow<UiState> = _uiState.asStateFlow()

private val _error = MutableSharedFlow<ErrorResponse?>()
val error: SharedFlow<ErrorResponse?> = _error.asSharedFlow()
Expand Down Expand Up @@ -204,7 +204,7 @@ class DetailsAccountViewModel @Inject constructor(
}
}

data class UiState2(
data class UiState(
val isLoading: Boolean = false,
val isAccountDeleted: Boolean = false,
val accountCard: AccountCard? = null,
Expand Down

0 comments on commit e394f2c

Please sign in to comment.