Marino Faggiana 7 жил өмнө
parent
commit
66b4cb298a

+ 1 - 10
iOSClient/AutoUpload/NCAutoUpload.m

@@ -384,9 +384,6 @@
     if ([newItemsToUpload count] == 0)
         return;
     
-    // Disable idle timer
-    [[UIApplication sharedApplication] setIdleTimerDisabled: YES];
-    
     if (assetsFull) {
         
         if (!_hud)
@@ -439,9 +436,6 @@
         // end loading
         [_hud hideHud];
         
-        // Enable idle timer
-        [[UIApplication sharedApplication] setIdleTimerDisabled:NO];
-        
         return;
     }
     
@@ -508,10 +502,7 @@
     }
     
     // end loading
-    [_hud hideHud];
-    
-    // Enable idle timer
-    [[UIApplication sharedApplication] setIdleTimerDisabled:NO];
+    [_hud hideHud];    
 }
 
 - (void)writeAssetToSandbox:(CCMetadataNet *)metadataNet