mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-18 06:57:15 +01:00
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:
@@ -106,21 +106,21 @@ extension Internals {
|
||||
}
|
||||
}
|
||||
|
||||
#if canImport(QuartzCore)
|
||||
|
||||
CATransaction.begin()
|
||||
|
||||
if !animatingDifferences {
|
||||
|
||||
CATransaction.setDisableActions(true)
|
||||
}
|
||||
#if os(watchOS)
|
||||
|
||||
performDiffingUpdates()
|
||||
|
||||
CATransaction.commit()
|
||||
|
||||
#else
|
||||
|
||||
CATransaction.begin()
|
||||
|
||||
if !animatingDifferences {
|
||||
|
||||
CATransaction.setDisableActions(true)
|
||||
}
|
||||
performDiffingUpdates()
|
||||
|
||||
CATransaction.commit()
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user