Center PFP in Zoom View
Closes: #357 Changlog-Fixed: Center profile picture in zoom view
This commit is contained in:
committed by
William Casarin
parent
904a6e960a
commit
e4ad15ced1
@@ -65,9 +65,9 @@ struct ProfileZoomView: View {
|
|||||||
.zIndex(1)
|
.zIndex(1)
|
||||||
|
|
||||||
VStack(alignment: .center) {
|
VStack(alignment: .center) {
|
||||||
Spacer()
|
|
||||||
.frame(height: 120)
|
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles)
|
ProfilePicView(pubkey: pubkey, size: 200.0, highlight: .none, profiles: profiles)
|
||||||
.padding(100)
|
.padding(100)
|
||||||
.scaledToFit()
|
.scaledToFit()
|
||||||
@@ -78,6 +78,8 @@ struct ProfileZoomView: View {
|
|||||||
.modifier(SwipeToDismissModifier(minDistance: nil, onDismiss: {
|
.modifier(SwipeToDismissModifier(minDistance: nil, onDismiss: {
|
||||||
presentationMode.wrappedValue.dismiss()
|
presentationMode.wrappedValue.dismiss()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user