|
@@ -16,13 +16,13 @@ class VLCTabbarCooordinator: NSObject, VLCMediaViewControllerDelegate {
|
|
|
|
|
|
private var childCoordinators: [NSObject] = []
|
|
private var childCoordinators: [NSObject] = []
|
|
private var tabBarController: UITabBarController
|
|
private var tabBarController: UITabBarController
|
|
- private var services: Services
|
|
|
|
|
|
+ private var services: Services!
|
|
private let displayController = VLCPlayerDisplayController()
|
|
private let displayController = VLCPlayerDisplayController()
|
|
|
|
|
|
public init(tabBarController: UITabBarController, services: Services) {
|
|
public init(tabBarController: UITabBarController, services: Services) {
|
|
self.tabBarController = tabBarController
|
|
self.tabBarController = tabBarController
|
|
- self.services = services
|
|
|
|
super.init()
|
|
super.init()
|
|
|
|
+ self.services = services
|
|
NotificationCenter.default.addObserver(self, selector: #selector(updateTheme), name: .VLCThemeDidChangeNotification, object: nil)
|
|
NotificationCenter.default.addObserver(self, selector: #selector(updateTheme), name: .VLCThemeDidChangeNotification, object: nil)
|
|
}
|
|
}
|
|
|
|
|