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

Dismiss keyboard when tapping Next

parent 8a1b5d47
No related branches found
No related tags found
1 merge request!91Fix transition bug when the keyboard is presented
...@@ -79,6 +79,7 @@ public final class OnboardingPhoneController: UIViewController { ...@@ -79,6 +79,7 @@ public final class OnboardingPhoneController: UIViewController {
.nextButton .nextButton
.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