Browse Source

VLCTabBarCoordinator: Change tab order

Move the Video tab to the first position

Co-authored-by: Carola Nitz <nitz.carola@googlemail.com>
Soomin Lee 7 years ago
parent
commit
b7514ad830
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCTabBarCoordinator.swift

+ 1 - 1
Sources/VLCTabBarCoordinator.swift

@@ -94,7 +94,7 @@ class VLCTabbarCooordinator: NSObject, VLCMediaViewControllerDelegate {
             selectedImage: UIImage(named: "Settings"))
             selectedImage: UIImage(named: "Settings"))
         settingsVC.tabBarItem.accessibilityIdentifier = VLCAccessibilityIdentifier.settings
         settingsVC.tabBarItem.accessibilityIdentifier = VLCAccessibilityIdentifier.settings
 
 
-        let controllers = [audioVC, serverVC, videoVC, settingsVC]
+        let controllers = [videoVC, audioVC, serverVC, settingsVC]
         tabBarController.viewControllers = controllers.map { UINavigationController(rootViewController: $0) }
         tabBarController.viewControllers = controllers.map { UINavigationController(rootViewController: $0) }
     }
     }