|
|
|
@ -47,7 +47,7 @@ class HelpUsCoordinator: Coordinator { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//Intentionally hold strong reference to self for UIAlertAction to work. Making `self` weak requires current coordinator to be retained; too easy to forgot |
|
|
|
|
let subscribeAction = UIAlertAction(title: R.string.localizable.emailListPromptSubscribeButtonTitle(), style: .default, handler: { action in |
|
|
|
|
let subscribeAction = UIAlertAction(title: R.string.localizable.emailListPromptSubscribeButtonTitle(), style: .default, handler: { _ in |
|
|
|
|
guard let email = controller.textFields?.first?.text else { return } |
|
|
|
|
EmailList(listSpecificKey: Constants.Credentials.mailChimpListSpecificKey).subscribe(email: email) |
|
|
|
|
}) |
|
|
|
|