Marino Faggiana 8 жил өмнө
parent
commit
8fcc4e04d2

+ 0 - 2
iOSClient/AppDelegate.h

@@ -41,7 +41,6 @@
 #import "CCMain.h"
 #import "CCPhotosCameraUpload.h"
 #import "CCSettings.h"
-#import "CCFavorites.h"
 
 @interface AppDelegate : UIResponder <UIApplicationDelegate, BKPasscodeLockScreenManagerDelegate, BKPasscodeViewControllerDelegate, LMMediaPlayerViewDelegate, TWMessageBarStyleSheet, CCNetworkingDelegate>
 
@@ -135,7 +134,6 @@
 @property (nonatomic, strong) CCMain *homeMain;
 @property (nonatomic, strong) CCPhotosCameraUpload *activePhotosCameraUpload;
 @property (nonatomic, retain) CCDetail *activeDetail;
-@property (nonatomic, retain) CCFavorites *activeFavorites;
 @property (nonatomic, retain) CCSettings *activeSettings;
 
 @property (nonatomic, strong) NSMutableDictionary *listMainVC;

+ 0 - 3
iOSClient/Favorites/CCFavorites.h

@@ -52,7 +52,4 @@
 @property (nonatomic, weak) CCDetail *detailViewController;
 @property (nonatomic, strong) UIDocumentInteractionController *docController;
 
-- (void)reloadDatasource;
-- (void)readFolderWithForced:(BOOL)forced serverUrl:(NSString *)serverUrl;
-
 @end

+ 1 - 8
iOSClient/Favorites/CCFavorites.m

@@ -49,9 +49,8 @@
     if (self = [super initWithCoder:aDecoder])  {
         
         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(triggerProgressTask:) name:@"NotificationProgressTask" object:nil];
-        
-        app.activeFavorites = self;
     }
+    
     return self;
 }
 
@@ -448,14 +447,8 @@
     return metadata;
 }
 
-- (void)readFolderWithForced:(BOOL)forced serverUrl:(NSString *)serverUrl
-{
-    [self reloadDatasource];
-}
-
 - (void)reloadDatasource
 {
-    
     NSMutableArray *metadatas = [NSMutableArray new];
     NSArray *recordsTableMetadata ;