Skip to content

Commit 0da0860

Browse files
committed
Fix Linux build issue
1 parent a4e6e20 commit 0da0860

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/OpenSwiftUICore/View/Input/ViewList.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,9 @@ public struct _ViewList_ID: Hashable {
746746
hasher.combine(implicitID)
747747
for explicitID in explicitIDs {
748748
hasher.combine(explicitID.id)
749+
#if canImport(Darwin)
749750
hasher.combine(explicitID.owner)
751+
#endif
750752
}
751753
}
752754

0 commit comments

Comments
 (0)