79304733

Date: 2024-12-24 04:37:49
Score: 1
Natty:
Report link

Just use the contentShape(_:_:eoFill:) initializer, making sure to specify a ContentShapeKinds of .contextMenuPreview:

.contentShape(.contextMenuPreview, RoundedRectangle(cornerRadius: 10))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei G.