Skip to content

Commit

Permalink
fix: PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu-dgl committed Oct 18, 2024
1 parent c92cac3 commit 4484afd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kDrive/UI/View/Files/Preview/VideoCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ class VideoCollectionViewCell: PreviewCollectionViewCell {
floatingPanelController?.dismiss(animated: true)
parentViewController?.present(navController, animated: true) {
playerViewController.player?.play()
let interval = CMTime(seconds: 1.0, preferredTimescale: CMTimeScale(NSEC_PER_SEC))
player.addPeriodicTimeObserver(forInterval: interval, queue: .main) { [weak self] _ in
self?.setNowPlayingMetadata()
}
}
}

Expand Down

0 comments on commit 4484afd

Please sign in to comment.