1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-27 18:22:32 +01:00

Fix keyboard not appearing when logging in on iPad

This commit is contained in:
Justin Mazzocchi 2021-03-21 00:49:19 -07:00
parent f49fc774e9
commit bfcb999b25
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C

View File

@ -119,7 +119,10 @@ private extension AddIdentityViewController {
logInButton.setTitle(NSLocalizedString("add-identity.log-in", comment: ""), for: .normal)
logInButton.addAction(
UIAction { [weak self] _ in self?.viewModel.logInTapped() },
UIAction { [weak self] _ in
self?.urlTextField.resignFirstResponder()
self?.viewModel.logInTapped()
},
for: .touchUpInside)
joinButton.addAction(UIAction { [weak self] _ in self?.join() }, for: .touchUpInside)