marinofaggiana 4 년 전
부모
커밋
80e11f82e3
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      iOSClient/AppDelegate.m

+ 1 - 3
iOSClient/AppDelegate.m

@@ -225,9 +225,7 @@
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:k_notificationCenter_richdocumentGrabFocus object:nil];
     
     // Request Service Server Nextcloud
-    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^(void) {
-        [[NCService shared] startRequestServicesServer];
-    });
+    [[NCService shared] startRequestServicesServer];
     
     [[NCCommunicationCommon shared] writeLog:@"The application Will enter in foreground"];
 }