瀏覽代碼

dev share

Marino Faggiana 6 年之前
父節點
當前提交
b302a9d61e
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      iOSClient/Main/CCMain.m

+ 7 - 0
iOSClient/Main/CCMain.m

@@ -1931,6 +1931,13 @@
             }
             
             [self tableViewReloadData];
+            
+        } else if (errorCode != 0) {
+            
+            if (errorCode == kOCErrorServerUnauthorized)
+                [appDelegate openLoginView:self delegate:self loginType:k_login_Modify_Password selector:k_intro_login];
+            else
+                [appDelegate messageNotification:@"_share_" description:message visible:YES delay:k_dismissAfterSecond type:TWMessageBarMessageTypeError errorCode:errorCode];
         }
     }];