Skip to content

Commit

Permalink
fix(class): sửa lại các lỗi nhỏ
Browse files Browse the repository at this point in the history
- thay icon study set
  • Loading branch information
nqmgaming committed Nov 30, 2024
1 parent a690df5 commit 448aa81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,10 +469,10 @@ class ClassDetailViewModel @Inject constructor(
_uiState.update {
it.copy(
isLoading = false,
statusInvite = resource.data?.status == true
isInvited = resource.data?.status == true
)
}
if (_uiState.value.statusInvite) {
if (_uiState.value.isInvited) {
_uiState.update {
it.copy(
errorMessage = "",
Expand Down

0 comments on commit 448aa81

Please sign in to comment.