What is Nostr?
prs / Damus PRs
npub1ahc…7v97
2023-07-26 18:25:30

prs on Nostr: FIX: Profile View pushed in the navigation infinitely #104 (#1390) This fix adds a ...

FIX: Profile View pushed in the navigation infinitely #104 (#1390)

This fix adds a check, when creating `EventShell`s, to look at the last `path` of the `NavigationCoordinator`, in order to determine if the last view (current view) is a `Route.ProfileByKey` case. If it is, and the public key of the `EventShell` is the same as the profile, then the `ProfilePicView` will not be wrapped in a `NavigationLink`, preventing the ability to push the same profile infinitely.

ProfileSelection, 2 commits

https://github.com/damus-io/damus/pull/1390
Author Public Key
npub1ahckk8wkr64n2w5r4arsesf42upfhlmgy76vhxmlex7mvv4zhrnqry7v97