Center PFP in Zoom View

Closes: #357
Changlog-Fixed: Center profile picture in zoom view
This commit is contained in:
Joel Klabo
2023-01-20 14:22:49 -08:00
committed by William Casarin
parent 904a6e960a
commit e4ad15ced1

View File

@@ -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()
}
}