Преглед на файлове

Change position remove all Notification

Marino Faggiana преди 8 години
родител
ревизия
3748ae01a6
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  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;