commit f96647fa407b3df2842dac0632b9368eba4f131b
parent 5ea522d306100d05ad9c795fc9fd231803f7c2ae
Author: ericholguin <ericholguin@apache.org>
Date: Mon, 28 Apr 2025 20:40:01 -0600
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>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/damus/Views/Wallet/TransactionsView.swift b/damus/Views/Wallet/TransactionsView.swift
@@ -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()