wallet: route to profile from wallet tx list
This PR allows users to tap on a profile picture from the wallet transaction list to go to that user's profile page. Closes: #2997 Changelog-Added: Added route to profile page from wallet tx list Signed-off-by: ericholguin <ericholguin@apache.org>
This commit is contained in:
committed by
Daniel D’Aquino
parent
5ea522d306
commit
f96647fa40
@@ -27,6 +27,9 @@ struct TransactionView: View {
|
||||
HStack(alignment: .center) {
|
||||
ZStack {
|
||||
ProfilePicView(pubkey: pubkey, size: 45, highlight: .custom(.damusAdaptableBlack, 0.1), profiles: damus_state.profiles, disable_animation: damus_state.settings.disable_animation)
|
||||
.onTapGesture {
|
||||
damus_state.nav.push(route: Route.ProfileByKey(pubkey: pubkey))
|
||||
}
|
||||
|
||||
Image(txType)
|
||||
.resizable()
|
||||
|
||||
Reference in New Issue
Block a user