updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f44ac60f88
commit
a9358c9892
@ -90,7 +90,7 @@ class LabelViewController: ModelViewController<DefaultLabelModel>, StoryboardIni
|
|||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func textDidEnd(_ sender: UITextField) {
|
@IBAction func textDidEnd(_ sender: UITextField) {
|
||||||
label.text = sender.text ?? "Label Component"
|
label.text = sender.text?.replacingOccurrences(of: "\\n", with: "\n") ?? "Label Component"
|
||||||
sender.resignFirstResponder()
|
sender.resignFirstResponder()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user