delay
This commit is contained in:
parent
c65d7d233e
commit
6f46b51ac7
@ -13,7 +13,10 @@ extension MFViewController: ObservingTextFieldDelegate {
|
||||
|
||||
public extension MFViewController {
|
||||
@objc func startValidation() {
|
||||
(self as? FormHolderProtocol)?.formValidator?.validate()
|
||||
// Temporary fix with delay.
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.000001) { [weak self] in
|
||||
(self as? FormHolderProtocol)?.formValidator?.validate()
|
||||
}
|
||||
}
|
||||
|
||||
@objc func addFormParams(requestParameters: MVMCoreRequestParameters) {
|
||||
|
||||
@ -487,6 +487,7 @@
|
||||
self.needToUpdateUI = YES;
|
||||
[self.view setNeedsLayout];
|
||||
}];
|
||||
[self startValidation];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
@ -535,8 +536,6 @@
|
||||
if (!self.disableAnimations) {
|
||||
[self.introAnimationManager performAnimations];
|
||||
}
|
||||
|
||||
[self startValidation];
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user