chore: add missing renaming

This commit is contained in:
CMK 2021-03-11 19:23:44 +08:00
parent 19a14b7761
commit 03496a4e97
1 changed files with 4 additions and 4 deletions

View File

@ -201,8 +201,8 @@ extension StatusSection {
let videoPlayerViewModel = dependency.context.videoPlaybackService.dequeueVideoPlayerViewModel(for: videoAttachment)
{
let parent = cell.delegate?.parent()
let mosaicPlayerView = cell.statusView.playerContainerView
let playerViewController = mosaicPlayerView.setupPlayer(
let playerContainerView = cell.statusView.playerContainerView
let playerViewController = playerContainerView.setupPlayer(
aspectRatio: videoPlayerViewModel.videoSize,
maxSize: playerViewMaxSize,
parent: parent
@ -211,8 +211,8 @@ extension StatusSection {
playerViewController.player = videoPlayerViewModel.player
playerViewController.showsPlaybackControls = videoPlayerViewModel.videoKind != .gif
mosaicPlayerView.gifIndicatorLabel.isHidden = videoPlayerViewModel.videoKind != .gif
mosaicPlayerView.isHidden = false
playerContainerView.gifIndicatorLabel.isHidden = videoPlayerViewModel.videoKind != .gif
playerContainerView.isHidden = false
} else {
cell.statusView.playerContainerView.playerViewController.player?.pause()