Skip to content

Commit 9e28725

Browse files
imvmstephencelis
andauthored
Fix iPhone XS Max portrait traits (#417)
Co-authored-by: Stephen Celis <[email protected]>
1 parent ef9666b commit 9e28725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SnapshotTesting/Common/View.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ extension UITraitCollection {
596596
)
597597
case .portrait:
598598
return .init(
599-
traitsFrom: [
599+
traitsFrom: base + [
600600
.init(horizontalSizeClass: .compact),
601601
.init(verticalSizeClass: .regular)
602602
]

0 commit comments

Comments
 (0)