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