Use default account name as placeholder text
This commit is contained in:
parent
5f98f0d2fc
commit
336d7a8cc7
@ -20,6 +20,8 @@ class DetailAccountViewController: UITableViewController {
|
|||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
guard let account = account else { return }
|
guard let account = account else { return }
|
||||||
|
|
||||||
|
nameTextField.placeholder = account.defaultName
|
||||||
nameTextField.text = account.name
|
nameTextField.text = account.name
|
||||||
nameTextField.delegate = self
|
nameTextField.delegate = self
|
||||||
activeSwitch.isOn = account.isActive
|
activeSwitch.isOn = account.isActive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user