mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Hide the keyboard on tapping the log-in button
This commit is contained in:
parent
932da4ac48
commit
735326891e
@ -55,6 +55,7 @@ struct AccountLoginView: View {
|
||||
.padding()
|
||||
} else {
|
||||
Button(action: {
|
||||
hideKeyboard()
|
||||
model.login(
|
||||
to: URL(string: server)!,
|
||||
as: username, password: password
|
||||
|
Loading…
Reference in New Issue
Block a user