Skip to content

Commit

Permalink
lint: apply swift lint
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun committed Jan 23, 2024
1 parent dc7b420 commit 634a84f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/Video/Features/RCTPictureInPicture.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import React

func setupPipController(_ playerLayer: AVPlayerLayer?) {
guard let playerLayer else { return }
if (!AVPictureInPictureController.isPictureInPictureSupported()) { return }
if !AVPictureInPictureController.isPictureInPictureSupported() { return }
// Create new controller passing reference to the AVPlayerLayer
_pipController = AVPictureInPictureController(playerLayer: playerLayer)
if #available(iOS 14.2, *) {
Expand Down
2 changes: 1 addition & 1 deletion ios/Video/Features/RCTVideoTVUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
var metadataGroups = [AVTimedMetadataGroup]()

// Iterate over the defined chapters and build a timed metadata group object for each.
chapters.forEach { chapter in
for chapter in chapters {
metadataGroups.append(makeTimedMetadataGroup(for: chapter))
}

Expand Down

0 comments on commit 634a84f

Please sign in to comment.