Skip to content

Commit 7c7cbc5

Browse files
committed
Refactor: 로딩 호출 위치 수정
1 parent b61c73b commit 7c7cbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presentation/src/main/java/com/threegap/bitnagil/presentation/setting/SettingViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ class SettingViewModel @Inject constructor(
8080
if (container.stateFlow.value.loading) return
8181

8282
sendIntent(SettingIntent.HideConfirmDialog)
83+
sendIntent(SettingIntent.LogoutLoading)
8384
viewModelScope.launch {
84-
sendIntent(SettingIntent.LogoutLoading)
8585
logoutUseCase().fold(
8686
onSuccess = {
8787
sendIntent(SettingIntent.LogoutSuccess)

0 commit comments

Comments
 (0)