Skip to content
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

Fix identity server entry #4595

Merged
merged 3 commits into from
Jul 23, 2021
Merged

Conversation

pixlwave
Copy link
Member

Fixes #4593.

  • Disables autocorrection and spell checking.
  • Trims whitespace from the string before processing.

@@ -142,7 +142,6 @@ final class SettingsIdentityServerViewController: UIViewController {
self.identityServerLabel.text = VectorL10n.identityServerSettingsTitle

self.identityServerTextField.placeholder = VectorL10n.identityServerSettingsPlaceHolder
self.identityServerTextField.keyboardType = .URL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a problem here to keep self.identityServerTextField.keyboardType = .URL even if it's set in the xib

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok. Just seemed a bit tidier to keep all the settings in the same place. I can put it back if you prefer?

@pixlwave pixlwave merged commit 24678bb into develop Jul 23, 2021
@pixlwave pixlwave deleted the doug/4593_fix_identity_server_entry branch July 23, 2021 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entering vector.im as the identity server can fail with whitespace
2 participants