fix initial updates

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-07-16 15:27:54 -05:00
parent 36669b61cb
commit 239af70710
2 changed files with 4 additions and 5 deletions

View File

@ -345,9 +345,8 @@ import UIKit
numberOfDigits = model.digits numberOfDigits = model.digits
if let entryType = model.type { let entryType = model.type
setAsSecureTextEntry(entryType == .secure || entryType == .password) setAsSecureTextEntry(entryType == .secure || entryType == .password)
}
let observingDelegate = delegateObject?.observingTextFieldDelegate ?? self let observingDelegate = delegateObject?.observingTextFieldDelegate ?? self

View File

@ -144,8 +144,8 @@ import MVMCore
picker.displayedPropertyKeys = ["phoneNumbers"] picker.displayedPropertyKeys = ["phoneNumbers"]
picker.predicateForEnablingContact = NSPredicate(format: "phoneNumbers.@count > 0") picker.predicateForEnablingContact = NSPredicate(format: "phoneNumbers.@count > 0")
picker.predicateForSelectionOfProperty = NSPredicate(format: "key == 'phoneNumbers'") picker.predicateForSelectionOfProperty = NSPredicate(format: "key == 'phoneNumbers'")
Task(priority: .userInitiated) { if let viewContoller = UIApplication.topViewController() {
await NavigationHandler.shared().present(viewController: picker, animated: true) viewContoller.present(picker, animated: true)
} }
} }