Skip to content

Commit

Permalink
lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Jan 29, 2024
1 parent 850a4e6 commit 56764fb
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions ios/Video/RCTVideo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,11 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
_eventDispatcher = eventDispatcher

#if os(iOS)
_pip = RCTPictureInPicture(
{ [weak self] in
self?._onPictureInPictureStatusChanged()
},
{ [weak self] in
self?._onRestoreUserInterfaceForPictureInPictureStop()
}
)
_pip = RCTPictureInPicture({ [weak self] in
self?._onPictureInPictureStatusChanged()
}, { [weak self] in
self?._onRestoreUserInterfaceForPictureInPictureStop()
})
#endif

NotificationCenter.default.addObserver(
Expand Down

0 comments on commit 56764fb

Please sign in to comment.