Skip to content

Commit d83bc4c

Browse files
committed
Add content shape
1 parent 952676f commit d83bc4c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/PredicateView/Views/TokenView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ struct TokenView<Root, Header: View, Content: View, MenuItems: View, Widget: Vie
6666
.fill(Color.accentColor.opacity(isFocused ? 0.15 : 0.1))
6767
}
6868
.contentShape(shape)
69+
#if os(iOS) || os(visionOS)
6970
.contentShape(.contextMenuPreview, shape)
71+
#endif
7072
.onTapGesture {
7173
isFocused = true
7274
}

0 commit comments

Comments
 (0)