Explorar o código

cloud storage table vc: fix issue when logging in to google drive

(cherry picked from commit 313bec92be75c1ba026fbca3816524ef3c300560)
Felix Paul Kühne %!s(int64=9) %!d(string=hai) anos
pai
achega
0683f218b8
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      Sources/VLCCloudStorageTableViewController.m

+ 1 - 2
Sources/VLCCloudStorageTableViewController.m

@@ -110,7 +110,6 @@
 {
     [_activityIndicator startAnimating];
     [self.controller requestDirectoryListingAtPath:self.currentPath];
-    [_activityIndicator stopAnimating];
 }
 
 - (void)mediaListUpdated
@@ -196,7 +195,7 @@
         self.navigationItem.rightBarButtonItem = _logoutButton;
     }
 
-    if(_authorizationInProgress) {
+    if(_authorizationInProgress || [self.controller isAuthorized]) {
         if (self.loginToCloudStorageView.superview) {
         [self.loginToCloudStorageView removeFromSuperview];
             }