Explorar o código

Change position remove all Notification

Marino Faggiana %!s(int64=8) %!d(string=hai) anos
pai
achega
3748ae01a6
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      iOSClient/Main/CCMain.m

+ 3 - 2
iOSClient/Main/CCMain.m

@@ -321,6 +321,9 @@
         if (app.activeDetail)
             [app.activeDetail removeAllView];
         
+        // remove all Notification Messages
+        [app.listOfNotifications removeAllObjects];
+        
         // home main
         app.homeMain = self;
         
@@ -1161,8 +1164,6 @@
    
     [app.sharesID removeAllObjects];
     
-    [app.listOfNotifications removeAllObjects];
-
     app.hasServerForbiddenCharactersSupport = NO;
     app.hasServerShareSupport = YES;