Browse Source

change name requestServer

Marino Faggiana 8 năm trước cách đây
mục cha
commit
da49fe446f
3 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 3 3
      iOSClient/AppDelegate.m
  2. 1 1
      iOSClient/Main/CCMain.h
  3. 1 1
      iOSClient/Main/CCMain.m

+ 3 - 3
iOSClient/AppDelegate.m

@@ -346,10 +346,10 @@
     
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.5 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
         
-        NSLog(@"[LOG] Request Server Information");
+        NSLog(@"[LOG] Request Server Capabilities");
     
         if (_activeMain)
-            [_activeMain requestServerInformation];
+            [_activeMain requestServerCapabilities];
     
         NSLog(@"[LOG] Initialize Camera Upload");
         [[NSNotificationCenter defaultCenter] postNotificationName:@"initStateCameraUpload" object:nil];
@@ -1150,7 +1150,7 @@
             [self messageNotification:@"_network_available_" description:nil visible:YES delay:k_dismissAfterSecond type:TWMessageBarMessageTypeInfo];
             
             if (_activeMain)
-                [_activeMain performSelector:@selector(requestServerInformation) withObject:nil afterDelay:3];
+                [_activeMain performSelector:@selector(requestServerCapabilities) withObject:nil afterDelay:3];
         }
         
         NSLog(@"[LOG] Reachability Changed: Reachable");

+ 1 - 1
iOSClient/Main/CCMain.h

@@ -89,7 +89,7 @@
 - (void)reloadDatasource;
 - (void)reloadDatasource:(NSString *)serverUrl fileID:(NSString *)fileID selector:(NSString *)selector;
 
-- (void)requestServerInformation;
+- (void)requestServerCapabilities;
 
 - (void)openWindowShare:(CCMetadata *)metadata;
 - (void)synchronizeFolderGraphicsServerUrl:(NSString *)serverUrl animation:(BOOL)animation;

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -1286,7 +1286,7 @@
 #pragma mark ==== Request Server Information  ====
 #pragma --------------------------------------------------------------------------------------------
 
-- (void)requestServerInformation
+- (void)requestServerCapabilities
 {
     // test
     if (app.activeAccount.length == 0)