-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
df/Issue115 #126
df/Issue115 #126
Conversation
I think the text in these alerts is too bold/big. If it can be broken into a title/message it would look something more like this and I think appear a bit more natural: I think the current text in the alerts make good "description" or smaller text. There could be a title for each of them. Maybe for the PKI certificate password alert it would be "Password Required". And for the username/password alert it could be "Authentication Required". |
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
/// - Parameter textField: The text field who's value recently changed. | ||
func updateValues(with textField: UITextField) { | ||
parent.viewModel.password = textField.text ?? "" | ||
parent.continueAction.isEnabled = !parent.viewModel.password.isEmpty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an observation on UITextField.textDidChangeNotification
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had considered that but it seemed to add additional complexity because I believe it would've required an ObjC selector and ObjC methods aren't allowed in structs. However, as of this morning I discovered the newer addAction(_:for:)
method and so this is now removed.
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
Sources/ArcGISToolkit/Components/Authentication/CertificatePickerViewModifier.swift
Outdated
Show resolved
Hide resolved
…kerViewModifier.swift Co-authored-by: R Olson <rolson@esri.com>
Better solutions will be investigated
Co-authored-by: R Olson <rolson@esri.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added my comments to the follow-on PR.
Co-authored-by: Mark Dostal <mdostal@esri.com>
df/Issue115-UnifiedAlert
Closes #115