diff --git a/Sources/Internals.DiffableDataUIDispatcher.swift b/Sources/Internals.DiffableDataUIDispatcher.swift index 8760977..9c7f52c 100644 --- a/Sources/Internals.DiffableDataUIDispatcher.swift +++ b/Sources/Internals.DiffableDataUIDispatcher.swift @@ -106,21 +106,21 @@ extension Internals { } } - #if os(iOS) + #if os(watchOS) - CATransaction.begin() - - if !animatingDifferences { - - CATransaction.setDisableActions(true) - } performDiffingUpdates() - CATransaction.commit() - #else + CATransaction.begin() + + if !animatingDifferences { + + CATransaction.setDisableActions(true) + } performDiffingUpdates() + + CATransaction.commit() #endif