mirror of
git://jb55.com/damus
synced 2024-09-30 08:50:42 +00:00
Fix bug where all banner images showed as the current users
Fixes: #313
This commit is contained in:
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()
|
||||
|
Loading…
Reference in New Issue
Block a user