marinofaggiana пре 4 година
родитељ
комит
9b21118498
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      iOSClient/AppDelegate.m

+ 1 - 3
iOSClient/AppDelegate.m

@@ -209,9 +209,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];
 }
 
 //