Skip to content

Commit 9a7abef

Browse files
authored
[Bug Fix] Fix macOS animation and visionOS build issue (#506)
1 parent 3b95f92 commit 9a7abef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/OpenSwiftUI/Animation/Timeline/TimelineView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ extension TimelineView: View, PrimitiveView, UnaryView where Content: View {
416416
}
417417
#else
418418
while nextTime <= currentReferenceTime, let next = iterator?.next() {
419+
currentTime = nextTime
419420
nextTime = next.timeIntervalSinceReferenceDate
420421
}
421422
#endif

Sources/OpenSwiftUI_SPI/Overlay/CoreUI/CoreUI+UIUserInterfaceIdiom.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ CUISubtype _CUISubtypeForIdiom(UIUserInterfaceIdiom idiom) {
5353
default: return CUISubtypeNormal;
5454
}
5555
#else
56-
return CUISubtypeAppleVision
56+
return CUISubtypeAppleVision;
5757
#endif
5858
}
5959

0 commit comments

Comments
 (0)