Skip to content

Commit

Permalink
swiftformat
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Oct 27, 2024
1 parent 04bf827 commit 4a73d39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/LiveKit/Views/SampleBufferVideoRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ class SampleBufferVideoRenderer: NativeView, Loggable {

override func performLayout() {
super.performLayout()

let (rotation, isMirrored) = _state.read { ($0.videoRotation, $0.isMirrored) }
sampleBufferDisplayLayer.transform = CATransform3D.from(rotation: rotation, isMirrored: isMirrored)
sampleBufferDisplayLayer.frame = bounds

sampleBufferDisplayLayer.removeAllAnimations()
}
}
Expand Down
4 changes: 2 additions & 2 deletions Sources/LiveKit/Views/VideoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,8 @@ extension VideoView: VideoRenderer {
}
self._secondaryRenderer = nil
}
let previousPrimaryRendered = self._primaryRenderer

let previousPrimaryRendered = _primaryRenderer
let completion: (Bool) -> Void = { _ in
previousPrimaryRendered?.removeFromSuperview()
}
Expand Down

0 comments on commit 4a73d39

Please sign in to comment.