1
0
mirror of git://jb55.com/damus synced 2024-09-30 17:00:43 +00:00

Fix bug where all banner images showed as the current users

Fixes: #313
This commit is contained in:
Jason Jōb 2023-01-12 11:38:22 -08:00 committed by William Casarin
parent 42a475bd72
commit abd5856f21

View File

@ -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()