commit
a1483eeee9
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 0.2.1
|
||||
|
||||
- **Fixed**: BasePassCodeViewController doesn't draw last dot filled
|
||||
|
||||
## 0.2.0
|
||||
- **Updated**: LeadKit to `0.7.x` version
|
||||
- **Removed**: `CellField*` and `FormField*` protocols and classes.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "LeadKitAdditions"
|
||||
s.version = "0.2.0"
|
||||
s.version = "0.2.1"
|
||||
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"
|
||||
|
|
|
|||
|
|
@ -225,9 +225,12 @@ open class BasePassCodeViewController: UIViewController, ConfigurableController
|
|||
|
||||
open func bindViews() {
|
||||
fakeTextField.rx.text.asDriver()
|
||||
.drive(onNext: { [weak self] text in
|
||||
.do(onNext: { [weak self] text in
|
||||
self?.setStates(for: text ?? "")
|
||||
self?.hideError()
|
||||
})
|
||||
.delay(0.1) // time to draw dots
|
||||
.drive(onNext: { [weak self] text in
|
||||
self?.viewModel.setPassCodeText(text)
|
||||
})
|
||||
.disposed(by: disposeBag)
|
||||
|
|
|
|||
Loading…
Reference in New Issue