Skip to content

Commit 8018ae7

Browse files
committed
hotfix: 초대코드 지워지지 않는 버그 수정
1 parent 705d7eb commit 8018ae7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Projects/Feature/Agency/Sources/Scene/JoinAgency/JoinAgencyVC.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ extension JoinAgencyVC: UITextFieldDelegate {
140140
shouldChangeCharactersIn range: NSRange,
141141
replacementString string: String
142142
) -> Bool {
143-
guard Int(string) != nil else { return false }
143+
guard string.isEmpty || Int(string) != nil else { return false }
144144
guard let idx = codeviews.map(\.numberTextField).firstIndex(of: textField) else { return false }
145145

146146
if let text = textField.text, !text.isEmpty, !string.isEmpty {

0 commit comments

Comments
 (0)