Skip to content
Snippets Groups Projects
Commit 50241a0d authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Dismiss keyboard when tapping Save

parent 6b78309a
Branches
Tags
1 merge request!91Fix transition bug when the keyboard is presented
...@@ -107,6 +107,7 @@ public final class ProfilePhoneController: UIViewController { ...@@ -107,6 +107,7 @@ public final class ProfilePhoneController: UIViewController {
.saveButton .saveButton
.publisher(for: .touchUpInside) .publisher(for: .touchUpInside)
.sink { [unowned self] in .sink { [unowned self] in
view.endEditing(true)
viewModel.didTapNext() viewModel.didTapNext()
}.store(in: &cancellables) }.store(in: &cancellables)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment