Skip to content

Commit b351f78

Browse files
committed
wiki 再换回 讨论
1 parent 535b3d8 commit b351f78

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
217217
if (_myProject.is_public.boolValue) {
218218
[cell setImageStr:@"project_item_member" andTitle:@"成员"];
219219
}else{
220-
// [cell setImageStr:@"project_item_topic" andTitle:@"讨论"];
221-
[cell setImageStr:@"project_item_wiki" andTitle:@"Wiki"];
220+
[cell setImageStr:@"project_item_topic" andTitle:@"讨论"];
221+
// [cell setImageStr:@"project_item_wiki" andTitle:@"Wiki"];
222222
}
223223
break;
224224
case 4:
@@ -336,16 +336,16 @@ - (void)goToIndex:(NSInteger)index{
336336
}
337337
}];
338338
}
339-
if (index == 3 && _myProject.is_public && !_myProject.is_public.boolValue) {
340-
WikiViewController *vc = [WikiViewController new];
341-
vc.myProject = self.myProject;
342-
[self.navigationController pushViewController:vc animated:YES];
343-
}else{
339+
// if (index == 3 && _myProject.is_public && !_myProject.is_public.boolValue) {
340+
// WikiViewController *vc = [WikiViewController new];
341+
// vc.myProject = self.myProject;
342+
// [self.navigationController pushViewController:vc animated:YES];
343+
// }else{
344344
ProjectViewController *vc = [[ProjectViewController alloc] init];
345345
vc.myProject = self.myProject;
346346
vc.curIndex = index;
347347
[self.navigationController pushViewController:vc animated:YES];
348-
}
348+
// }
349349
}
350350
- (void)gotoPro:(Project *)project{
351351
NProjectViewController *vc = [[NProjectViewController alloc] init];

0 commit comments

Comments
 (0)