Browse Source

clear code

marinofaggiana 6 years ago
parent
commit
94b4411f3c
2 changed files with 0 additions and 10 deletions
  1. 0 5
      iOSClient/Main/CCDetail.m
  2. 0 5
      iOSClient/Shares/NCShares.m

+ 0 - 5
iOSClient/Main/CCDetail.m

@@ -63,7 +63,6 @@
         
         appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
 
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(triggerProgressTask:) name:@"NotificationProgressTask" object:nil];
         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeTheming) name:@"changeTheming" object:nil];
 
         self.metadataDetail = [[tableMetadata alloc] init];
@@ -604,10 +603,6 @@
     [self.navigationController popViewControllerAnimated:YES];
 }
 
-- (void)triggerProgressTask:(NSNotification *)notification
-{
-}
-
 - (void)downloadPhotoBrowserSuccessFailure:(tableMetadata *)metadata selector:(NSString *)selector errorCode:(NSInteger)errorCode
 {
     // if a message for a directory of these

+ 0 - 5
iOSClient/Shares/NCShares.m

@@ -45,7 +45,6 @@
         
         appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
 
-        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(triggerProgressTask:) name:@"NotificationProgressTask" object:nil];
         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeTheming) name:@"changeTheming" object:nil];
         
         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadDatasource) name:@"SharesReloadDatasource" object:nil];
@@ -97,10 +96,6 @@
     [self.tableView reloadData];
 }
 
-- (void)triggerProgressTask:(NSNotification *)notification
-{
-}
-
 #pragma --------------------------------------------------------------------------------------------
 #pragma mark ==== DZNEmptyDataSetSource ====
 #pragma --------------------------------------------------------------------------------------------