Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
8988beaeab
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      iOSClient/AppDelegate.m

+ 3 - 3
iOSClient/AppDelegate.m

@@ -208,6 +208,9 @@
             [self handleShortCutItem:shortcutItem];
     }
     
+    // Verify Lock
+    [self verifyLockOnLoadAutoUpload];
+    
     // Start Timer
     self.timerProcessAutoDownloadUpload = [NSTimer scheduledTimerWithTimeInterval:k_timerProcessAutoDownloadUpload target:self selector:@selector(processAutoDownloadUpload) userInfo:nil repeats:YES];
     self.timerUpdateApplicationIconBadgeNumber = [NSTimer scheduledTimerWithTimeInterval:k_timerUpdateApplicationIconBadgeNumber target:self selector:@selector(updateApplicationIconBadgeNumber) userInfo:nil repeats:YES];
@@ -316,9 +319,6 @@
     
     // Execute : after 1 sec.
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
-    
-        // Verify lock
-        [self verifyLockOnLoadAutoUpload];
         
         // verify Upload
         [self verifyUploadInErrorOrWait];