marinofaggiana 5 年之前
父节点
当前提交
c59b3761b9
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      iOSClient/Main/CCMain.m

+ 2 - 3
iOSClient/Main/CCMain.m

@@ -870,10 +870,9 @@
 
 - (void)saveSelectedFilesSelector:(NSString *)path didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo
 {
-    if (error)
+    if (error) {
         [[NCContentPresenter shared] messageNotification:@"_save_selected_files_" description:@"_file_not_saved_cameraroll_" delay:k_dismissAfterSecond type:messageTypeError errorCode:error.code];
-    else
-        [[NCContentPresenter shared] messageNotification:@"_save_selected_files_" description:@"_file_saved_cameraroll_" delay:k_dismissAfterSecond type:messageTypeInfo errorCode:0];
+    }
 }
 
 - (void)saveSelectedFiles