Revert "Revert "Fix tap area when mentioning users""

This reverts commit 735376b00f.
This commit is contained in:
William Casarin
2023-04-15 09:59:55 -07:00
parent 41a462871c
commit d4c8c15cc3
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)
}