From 3f2adc24d4e122d5cd1edbdabfcdb294831d003f Mon Sep 17 00:00:00 2001 From: Alexey Gerasimov Date: Wed, 26 Apr 2017 20:06:53 +0300 Subject: [PATCH] one more passCode fix --- .../PassCode/View/BasePassCodeViewController.swift | 2 +- .../PassCode/ViewModel/BasePassCodeViewModel.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift b/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift index 0aae75b..7a309f1 100644 --- a/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift +++ b/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift @@ -50,7 +50,7 @@ open class BasePassCodeViewController: UIViewController { @IBOutlet public weak var errorLabel: UILabel? @IBOutlet public weak var dotStackView: UIStackView! - let disposeBag = DisposeBag() + public let disposeBag = DisposeBag() fileprivate lazy var fakeTextField: UITextField = { let fakeTextField = UITextField() diff --git a/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift b/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift index 333e65d..f5701fa 100644 --- a/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift +++ b/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift @@ -56,9 +56,9 @@ open class BasePassCodeViewModel: BaseViewModel { return PassCodeHolderBuilder.build(with: self.controllerType) }() - init(controllerType: PassCodeControllerType, - passCodeConfiguration: PassCodeConfiguration, - touchIdService: TouchIDService? = nil) { + public init(controllerType: PassCodeControllerType, + passCodeConfiguration: PassCodeConfiguration, + touchIdService: TouchIDService? = nil) { self.controllerType = controllerType self.passCodeConfiguration = passCodeConfiguration