Hide keyboard in UserSessionName

This commit is contained in:
Alfonso Grillo
2022-10-27 12:04:13 +02:00
parent 0845fd8324
commit f018f05410
3 changed files with 26 additions and 1 deletions
@@ -64,7 +64,7 @@ struct SearchBar: View {
Button(action: {
self.isEditing = false
self.text = ""
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
self.hideKeyboard()
}) {
Text(VectorL10n.cancel)
.font(theme.fonts.body)