Prechádzať zdrojové kódy

VLCServerListViewController: Don't dismiss loginVC after connect

Fix the vlc dialog login having zero effect when the server ask the
credential just after the loginVC.

Additionally, it avoids a glitch when connecting (going back and forth).
Soomin Lee 5 rokov pred
rodič
commit
8a35d5562b

+ 0 - 2
Sources/LocalNetworkConnectivity/VLCServerListViewController.m

@@ -399,8 +399,6 @@
         APLog(@"Unsupported URL Scheme requested %@", identifier);
     }
 
-    [self _dismissLogin];
-
     if (serverBrowser) {
         VLCNetworkServerBrowserViewController *targetViewController = [[VLCNetworkServerBrowserViewController alloc] initWithServerBrowser:serverBrowser];
         [self.navigationController pushViewController:targetViewController animated:YES];