going back to orgiinal func
This commit is contained in:
parent
a34b3509a1
commit
aca32d14f7
@ -308,13 +308,13 @@ import UIKit
|
|||||||
guard let model = model as? TextEntryFieldModel else { return }
|
guard let model = model as? TextEntryFieldModel else { return }
|
||||||
|
|
||||||
model.updateUI = { [weak self] in
|
model.updateUI = { [weak self] in
|
||||||
DispatchQueue.main.async {
|
MVMCoreDispatchUtility.performBlock(onMainThread: {
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
|
|
||||||
if self.isSelected {
|
if self.isSelected {
|
||||||
self.updateValidation(model.isValid ?? true)
|
self.updateValidation(model.isValid ?? true)
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
self.delegateObject = delegateObject
|
self.delegateObject = delegateObject
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user