瀏覽代碼

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;