Skip to content

Commit

Permalink
Fix sheet not dismissing (email verification)
Browse files Browse the repository at this point in the history
  • Loading branch information
peng-u-0807 committed Feb 10, 2024
1 parent 2e1df5c commit 0647dca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SNUTT-2022/SNUTT/Views/Scenes/LectureDetailScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ struct LectureDetailScene: View {
.alert(viewModel.errorTitle, isPresented: $viewModel.isEmailVerifyAlertPresented, actions: {
Button("확인") {
viewModel.selectedTab = .review
if displayMode == .preview {
dismiss()
}
}
Button("취소", role: .cancel) {}
}, message: {
Expand Down

0 comments on commit 0647dca

Please sign in to comment.