Просмотр исходного кода

AppCoordinator: Remove unnecessary variable assignment

Soomin Lee 6 лет назад
Родитель
Сommit
3792ba59f8
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      Sources/Coordinators/AppCoordinator.swift

+ 1 - 2
Sources/Coordinators/AppCoordinator.swift

@@ -49,8 +49,7 @@ class Services: NSObject {
     }
 
     @objc func start() {
-        let tabbarCoordinator = VLCTabBarCoordinator(tabBarController: tabBarController, services: services)
-        childCoordinators.append(tabbarCoordinator)
+        childCoordinators.append(VLCTabBarCoordinator(tabBarController: tabBarController, services: services))
     }
 }