going back to orgiinal func

This commit is contained in:
Kevin G Christiano 2020-04-23 14:48:20 -04:00
parent a34b3509a1
commit aca32d14f7

View File

@ -308,13 +308,13 @@ import UIKit
guard let model = model as? TextEntryFieldModel else { return }
model.updateUI = { [weak self] in
DispatchQueue.main.async {
MVMCoreDispatchUtility.performBlock(onMainThread: {
guard let self = self else { return }
if self.isSelected {
self.updateValidation(model.isValid ?? true)
}
}
})
}
self.delegateObject = delegateObject