Fix bug where all banner images showed as the current users
Fixes: #313
This commit is contained in:
committed by
William Casarin
parent
42a475bd72
commit
abd5856f21
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user