mirror of
git://jb55.com/damus
synced 2024-09-19 19:46:51 +00:00
Fix profile navigation bugs from muted users list and relay list views
Changelog-Fixed: Fix profile navigation bugs from muted users list and relay list views Signed-off-by: Terry Yiu <git@tyiu.xyz> Reviewed-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
57159f7df9
commit
4b7444f338
@ -42,6 +42,9 @@ struct MutelistView: View {
|
|||||||
.swipeActions {
|
.swipeActions {
|
||||||
RemoveAction(pubkey: pubkey)
|
RemoveAction(pubkey: pubkey)
|
||||||
}
|
}
|
||||||
|
.onTapGesture {
|
||||||
|
damus_state.nav.push(route: Route.ProfileByKey(pubkey: pubkey))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.navigationTitle(NSLocalizedString("Muted Users", comment: "Navigation title of view to see list of muted users."))
|
.navigationTitle(NSLocalizedString("Muted Users", comment: "Navigation title of view to see list of muted users."))
|
||||||
.onAppear {
|
.onAppear {
|
||||||
|
@ -72,9 +72,10 @@ struct RelayDetailView: View {
|
|||||||
|
|
||||||
if let pubkey = nip11.pubkey {
|
if let pubkey = nip11.pubkey {
|
||||||
Section(NSLocalizedString("Admin", comment: "Label to display relay contact user.")) {
|
Section(NSLocalizedString("Admin", comment: "Label to display relay contact user.")) {
|
||||||
NavigationLink(value: Route.ProfileByKey(pubkey: pubkey), label: {
|
UserViewRow(damus_state: state, pubkey: pubkey)
|
||||||
UserViewRow(damus_state: state, pubkey: pubkey)
|
.onTapGesture {
|
||||||
})
|
state.nav.push(route: Route.ProfileByKey(pubkey: pubkey))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let relay_connection {
|
if let relay_connection {
|
||||||
|
Loading…
Reference in New Issue
Block a user