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:
parent
42a475bd72
commit
abd5856f21
@ -194,7 +194,7 @@ struct ProfileView: View {
|
|||||||
var TopSection: some View {
|
var TopSection: some View {
|
||||||
ZStack(alignment: .top) {
|
ZStack(alignment: .top) {
|
||||||
GeometryReader { geo in
|
GeometryReader { geo in
|
||||||
BannerImageView(pubkey: damus_state.pubkey, profiles: damus_state.profiles)
|
BannerImageView(pubkey: profile.pubkey, profiles: damus_state.profiles)
|
||||||
.aspectRatio(contentMode: .fill)
|
.aspectRatio(contentMode: .fill)
|
||||||
.frame(width: geo.size.width, height: BANNER_HEIGHT)
|
.frame(width: geo.size.width, height: BANNER_HEIGHT)
|
||||||
.clipped()
|
.clipped()
|
||||||
|
Loading…
Reference in New Issue
Block a user