fix initial updates
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
36669b61cb
commit
239af70710
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user