         isDirty = !text.isEmpty
     }
 
-    @objc private func next(sender: UIBarButtonItem) {
-        showRegisterPickMobile()
-    }
-
     private func showRegisterPickMobile() {
 
         guard let text = nameTextField.text else {

import UIKit
import YepKit
import Ruler

final class RegisterPickNameViewController: BaseViewController {

    var mobile: String?
    var areaCode: String?

    @IBOutlet private weak var pickNamePromptLabel: UILabel!
    @IBOutlet private weak var pickNamePromptLabelTopConstraint: NSLayoutConstraint!

    @IBOutlet private weak var nameTextFieldTopConstraint: NSLayoutConstraint!
    
    private lazy var nextButton: UIBarButtonItem = {
        let button = UIBarButtonItem()
        button.title = NSLocalizedString("Next", comment: "")
        button.rx_tap
            .subscribeNext({ [weak self] in self?.showRegisterPickMobile() })
            .addDisposableTo(self.disposeBag)
        return button
    }()

