Browse Source

VLCNetworkLoginViewController: Dismiss VC after connect

Soomin Lee 5 years ago
parent
commit
97bc18ed03

+ 2 - 0
Sources/LocalNetworkConnectivity/VLCNetworkLoginViewController.m

@@ -186,6 +186,8 @@
     [self.delegate loginWithLoginViewController:self loginInfo:dataSource.loginInformation];
     [self.delegate loginWithLoginViewController:self loginInfo:dataSource.loginInformation];
 
 
     [self.tableView deselectRowAtIndexPath:self.tableView.indexPathForSelectedRow animated:YES];
     [self.tableView deselectRowAtIndexPath:self.tableView.indexPathForSelectedRow animated:YES];
+
+    [self dismissViewControllerAnimated:YES completion:NULL];
 }
 }
 
 
 - (void)connectLoginDataSource
 - (void)connectLoginDataSource