marinofaggiana 4 gadi atpakaļ
vecāks
revīzija
9e90fbf5b9
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      iOSClient/AppDelegate.m

+ 2 - 0
iOSClient/AppDelegate.m

@@ -1025,6 +1025,8 @@
 {
 {
     [[NCCommunicationCommon shared] writeLog:[NSString stringWithFormat:@"[LOG] Start handle Events For Background URLSession: %@", identifier]];
     [[NCCommunicationCommon shared] writeLog:[NSString stringWithFormat:@"[LOG] Start handle Events For Background URLSession: %@", identifier]];
     
     
+    [self updateApplicationIconBadgeNumber];
+    
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 20 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 20 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
         self.backgroundSessionCompletionHandler = completionHandler;
         self.backgroundSessionCompletionHandler = completionHandler;
         void (^completionHandler)() = self.backgroundSessionCompletionHandler;
         void (^completionHandler)() = self.backgroundSessionCompletionHandler;