From abd5856f21c3a6724aa560fde073386aa27ef973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20J=C5=8Db?= Date: Thu, 12 Jan 2023 11:38:22 -0800 Subject: [PATCH] Fix bug where all banner images showed as the current users Fixes: #313 --- damus/Views/ProfileView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift index 0d54d76a..88a076c1 100644 --- 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()