Skip to content

Commit

Permalink
[Fix] sopt-makers#87 - 회원가입 실패 시 토스트 발생
Browse files Browse the repository at this point in the history
  • Loading branch information
lsj8706 committed Jan 7, 2023
1 parent 9c83fcd commit f3bb6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public struct I18N {
public static let invalidPasswordForm = "영문, 숫자, 특수문자 포함 8-15자로 입력해주세요."
public static let passwordNotAccord = "비밀번호가 일치하지 않습니다."
public static let signUpComplete = "가입 완료"
public static let signUpFail = "회원가입 실패"
public static let welcome = "SOPTAMP에 오신 것을 환영합니다"
public static let start = "시작하기"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ extension SignUpVC {
output.signUpSuccessed
.sink { [weak self] isSuccess in
guard let self = self else { return }
isSuccess ? self.presentSignUpCompleteView() : print("회원가입 실패")
isSuccess ? self.presentSignUpCompleteView() : self.showToast(message: I18N.SignUp.signUpFail)
}.store(in: cancelBag)
}
}
Expand Down

0 comments on commit f3bb6a2

Please sign in to comment.