damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit abd5856f21c3a6724aa560fde073386aa27ef973
parent 42a475bd720950284b80506e83f2b73bfb8cb707
Author: Jason Jōb <jason.allan.job@gmail.com>
Date:   Thu, 12 Jan 2023 11:38:22 -0800

Fix bug where all banner images showed as the current users

Fixes: #313

Diffstat:
Mdamus/Views/ProfileView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift @@ -194,7 +194,7 @@ struct ProfileView: View { var TopSection: some View { ZStack(alignment: .top) { GeometryReader { geo in - BannerImageView(pubkey: damus_state.pubkey, profiles: damus_state.profiles) + BannerImageView(pubkey: profile.pubkey, profiles: damus_state.profiles) .aspectRatio(contentMode: .fill) .frame(width: geo.size.width, height: BANNER_HEIGHT) .clipped()