Fix tap area when mentioning users

Changelog-Fixed: Fix tap area when mentioning users
Closes: #895
This commit is contained in:
OlegAba
2023-04-08 20:12:26 -04:00
committed by William Casarin
parent 46c208c9a5
commit a2cd51b6e7
3 changed files with 27 additions and 15 deletions

View File

@@ -81,6 +81,7 @@ struct UserSearch: View {
} else {
ForEach(users) { user in
UserView(damus_state: damus_state, pubkey: user.pubkey)
.contentShape(Rectangle())
.onTapGesture {
on_user_tapped(user: user)
}