From 18e351c7221e275790574d63314a224358171c00 Mon Sep 17 00:00:00 2001 From: juhyeon Date: Sat, 16 Apr 2022 16:50:02 +0900 Subject: [PATCH] =?UTF-8?q?[REFACTOR]=20hasText=20=EC=9E=90=EC=B2=B4=20?= =?UTF-8?q?=EB=A6=AC=ED=84=B4=20=EA=B0=92=EC=9C=BC=EB=A1=9C=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Instagram/Instagram/AddNameToSignupViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Instagram/Instagram/AddNameToSignupViewController.swift b/Instagram/Instagram/AddNameToSignupViewController.swift index f3680c3..e130689 100644 --- a/Instagram/Instagram/AddNameToSignupViewController.swift +++ b/Instagram/Instagram/AddNameToSignupViewController.swift @@ -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) {