Hide the keyboard on tapping the log-in button

This commit is contained in:
Angelo Stavrow 2020-10-22 16:09:18 -04:00
parent 932da4ac48
commit 735326891e
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -55,6 +55,7 @@ struct AccountLoginView: View {
.padding()
} else {
Button(action: {
hideKeyboard()
model.login(
to: URL(string: server)!,
as: username, password: password