From c4b02fb055ae688ceeee78113d0b440afba7e4e4 Mon Sep 17 00:00:00 2001 From: Grigory Date: Thu, 6 Jul 2017 13:22:54 +0300 Subject: [PATCH] pin fixed --- LeadKitAdditions.podspec | 2 +- .../Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LeadKitAdditions.podspec b/LeadKitAdditions.podspec index 8a8625d..e34ed15 100644 --- a/LeadKitAdditions.podspec +++ b/LeadKitAdditions.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKitAdditions" - s.version = "0.0.17" + s.version = "0.0.18" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKitAdditions" s.license = "Apache License, Version 2.0" diff --git a/LeadKitAdditions/Sources/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift b/LeadKitAdditions/Sources/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift index 0679755..3fbd333 100644 --- a/LeadKitAdditions/Sources/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift +++ b/LeadKitAdditions/Sources/Controllers/PassCode/ViewModel/BasePassCodeViewModel.swift @@ -111,7 +111,7 @@ open class BasePassCodeViewModel: BaseViewModel { public func reset() { passCodeText.value = nil validationResultHolder.value = nil - passCodeControllerStateHolder.value = .enter + passCodeControllerStateHolder.value = controllerType == .change ? .oldEnter : .enter attemptsNumber = 0 passCodeHolder.reset() }