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
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