Commit ef53f559 authored by Soomin Lee's avatar Soomin Lee

VideoViewController: Simplify viewControllers return

parent 7a07dcf3
......@@ -26,9 +26,10 @@ class VLCVideoViewController: VLCMediaViewController {
}
override func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController] {
let movies = VLCMovieCategoryViewController(services)
let episodes = VLCShowEpisodeCategoryViewController(services)
let playlists = VLCVideoPlaylistCategoryViewController(services)
return [movies, episodes, playlists]
return [
VLCMovieCategoryViewController(services),
VLCShowEpisodeCategoryViewController(services),
VLCVideoPlaylistCategoryViewController(services)
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment