Merge pull request #510 from DavidTiimo/develop

issue #509 | Xcode 16.0 beta 6 error - "'CATransaction' is unavailable in watchOS"
This commit is contained in:
John Estropia
2024-09-10 11:11:32 +09:00
committed by GitHub

View File

@@ -106,7 +106,11 @@ extension Internals {
} }
} }
#if canImport(QuartzCore) #if os(watchOS)
performDiffingUpdates()
#else
CATransaction.begin() CATransaction.begin()
@@ -118,10 +122,6 @@ extension Internals {
CATransaction.commit() CATransaction.commit()
#else
performDiffingUpdates()
#endif #endif
} }