Skip to content

Commit

Permalink
[REFACTOR] hasText 자체 리턴 값으로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
wngus4296 committed Apr 16, 2022
1 parent 73994e0 commit 18e351c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Instagram/Instagram/AddNameToSignupViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class AddNameToSignupViewController: UIViewController {
}

@objc func textFieldDidChange(sender: UITextField) {
self.nextButton.isEnabled = sender.hasText ? true : false
self.nextButton.isEnabled = sender.hasText
}

@IBAction func backButtonDidTap(_ sender: Any) {
Expand Down

0 comments on commit 18e351c

Please sign in to comment.