27 files changed
+399
-15
No files matched your search
@@ -37,6 +37,7 @@ class GatewayViewModel : ViewModel() {
|
||||
is NetworkResult.Success -> {
|
||||
_uiState.update { it.copy(isLoading = false, status = result.data) }
|
||||
}
|
||||
|
||||
is NetworkResult.Failure -> {
|
||||
_uiState.update {
|
||||
it.copy(
|
||||
@@ -78,6 +79,7 @@ class GatewayViewModel : ViewModel() {
|
||||
}
|
||||
loadStatus()
|
||||
}
|
||||
|
||||
is NetworkResult.Failure -> {
|
||||
_uiState.update {
|
||||
it.copy(
|
||||
|
||||
Reference in new issue
Block a user