damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit e4ad15ced1dc9f66db8b9de32bbb765f72527b21
parent 904a6e960a2072b1eeba26c524f03c2b010ca9cb
Author: Joel Klabo <joelklabo@gmail.com>
Date:   Fri, 20 Jan 2023 14:22:49 -0800

Center PFP in Zoom View

Closes: #357
Changlog-Fixed: Center profile picture in zoom view

Diffstat:
Mdamus/Views/ProfileZoomView.swift | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/damus/Views/ProfileZoomView.swift b/damus/Views/ProfileZoomView.swift @@ -65,9 +65,9 @@ struct ProfileZoomView: View { .zIndex(1) VStack(alignment: .center) { - Spacer() - .frame(height: 120) + Spacer() + ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles) .padding(100) .scaledToFit() @@ -78,6 +78,8 @@ struct ProfileZoomView: View { .modifier(SwipeToDismissModifier(minDistance: nil, onDismiss: { presentationMode.wrappedValue.dismiss() })) + + Spacer() } }