Skip to content

Commit

Permalink
Add public modifier to PlayerPageViewController#viewDidMax|Minimize
Browse files Browse the repository at this point in the history
  • Loading branch information
kumabook committed Jan 23, 2019
1 parent 0ccb7c3 commit ec4c54c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/PlayerPageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,14 @@ open class PlayerPageViewController<PVC: PlayerViewController, MV: MiniPlayerVie
return imageView
}

public func viewDidMaximize() {
open func viewDidMaximize() {
updateViews()
if let playerViewController = currentPlayerView {
playerViewController.videoView?.playerView = player.playerView
}
}

public func viewDidMinimize() {
open func viewDidMinimize() {
updateViews()
guard let track = player?.currentTrack else { return }
track.loadThumbnailImage() { image in
Expand Down

0 comments on commit ec4c54c

Please sign in to comment.