From 9d72fede0591a72f0d1dedc4eb289365281df9ab Mon Sep 17 00:00:00 2001 From: Phil Viso Date: Sun, 19 May 2019 16:14:23 -0500 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20reference=20nameTextField=20dir?= =?UTF-8?q?ectly=20when=20dismissing=20the=20keyboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/Settings/DetailAccountViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/Settings/DetailAccountViewController.swift b/iOS/Settings/DetailAccountViewController.swift index 42107d2f1..eb6d597ac 100644 --- a/iOS/Settings/DetailAccountViewController.swift +++ b/iOS/Settings/DetailAccountViewController.swift @@ -36,7 +36,7 @@ class DetailAccountViewController: UITableViewController { extension DetailAccountViewController: UITextFieldDelegate { func textFieldShouldReturn(_ textField: UITextField) -> Bool { - nameTextField.resignFirstResponder() + textField.resignFirstResponder() return true }