Browse Source

Center PFP in Zoom View

Closes: #357
Changlog-Fixed: Center profile picture in zoom view
to-test
Joel Klabo 2 years ago
committed by William Casarin
parent
commit
e4ad15ced1
  1. 4
      damus/Views/ProfileZoomView.swift

4
damus/Views/ProfileZoomView.swift

@ -65,8 +65,8 @@ struct ProfileZoomView: View {
.zIndex(1) .zIndex(1)
VStack(alignment: .center) { VStack(alignment: .center) {
Spacer() Spacer()
.frame(height: 120)
ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles) ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles)
.padding(100) .padding(100)
@ -79,6 +79,8 @@ struct ProfileZoomView: View {
presentationMode.wrappedValue.dismiss() presentationMode.wrappedValue.dismiss()
})) }))
Spacer()
} }
} }
} }

Loading…
Cancel
Save