Skip to content

Commit 6c87639

Browse files
committed
[BOOK-298] fix: 로그아웃/회원탈퇴 화면 전환 이전에 다이얼로그/바텀시트가 닫히도록 flag 호출 순서 변경
1 parent e081cd5 commit 6c87639

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feature/settings/src/main/kotlin/com/ninecraft/booket/feature/settings/SettingsPresenter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ class SettingsPresenter @AssistedInject constructor(
8080
}
8181
} finally {
8282
isLoading = false
83-
isLogoutDialogVisible = false
8483
}
8584
}
8685
}
@@ -110,7 +109,6 @@ class SettingsPresenter @AssistedInject constructor(
110109
}
111110
} finally {
112111
isLoading = false
113-
isWithdrawBottomSheetVisible = false
114112
}
115113
}
116114
}
@@ -184,10 +182,12 @@ class SettingsPresenter @AssistedInject constructor(
184182
}
185183

186184
is SettingsUiEvent.Logout -> {
185+
isLogoutDialogVisible = false
187186
logout()
188187
}
189188

190189
is SettingsUiEvent.Withdraw -> {
190+
isWithdrawBottomSheetVisible = false
191191
withdraw()
192192
}
193193

0 commit comments

Comments
 (0)