marinofaggiana 4 жил өмнө
parent
commit
1d2aa6c3e8

+ 3 - 3
iOSClient/Favorites/CCFavorites.m

@@ -104,10 +104,10 @@
     // Active Main
     appDelegate.activeFavorites = self;
 
-    [self reloadDatasource];
-
     if (self.serverUrl == nil && appDelegate.activeAccount.length > 0) {
-        [[NCNetworking shared] listingFavoritescompletionWithCompletion:^(NSString *account, NSArray* metadatas, NSInteger errorCode, NSString *errorDescription) { }];
+        [[NCNetworking shared] listingFavoritescompletionWithCompletion:^(NSString *account, NSArray* metadatas, NSInteger errorCode, NSString *errorDescription) {
+             [self reloadDatasource];
+        }];
     }
 }