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 d4c8c15cc3
commit 8a785559c6
4 changed files with 27 additions and 8 deletions

View File

@@ -21,14 +21,11 @@ struct FollowUserView: View {
}
HStack {
UserView(damus_state: damus_state, pubkey: target.pubkey)
.contentShape(Rectangle())
.onTapGesture {
navigating = true
}
UserViewRow(damus_state: damus_state, pubkey: target.pubkey)
FollowButtonView(target: target, follows_you: false, follow_state: damus_state.contacts.follow_state(target.pubkey))
}
Spacer()
}
}