Browse Source

Fix bug where all banner images showed as the current users

Fixes: #313
translations_damus-localizations-en-us-xcloc-localized-contents-en-us-xliff--master_es_419
Jason Jōb 2 years ago
committed by William Casarin
parent
commit
abd5856f21
  1. 2
      damus/Views/ProfileView.swift

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

Loading…
Cancel
Save