Skip to content

Commit 71d50c4

Browse files
committed
Wiki 改回 讨论
1 parent 633a7cb commit 71d50c4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
207207
if (_myProject.is_public.boolValue) {
208208
[cell setImageStr:@"project_item_member" andTitle:@"成员"];
209209
}else{
210-
[cell setImageStr:@"project_item_wiki" andTitle:@"Wiki"];
210+
[cell setImageStr:@"project_item_topic" andTitle:@"讨论"];
211+
// [cell setImageStr:@"project_item_wiki" andTitle:@"Wiki"];
211212
}
212213
break;
213214
case 4:
@@ -300,16 +301,16 @@ - (void)goToIndex:(NSInteger)index{
300301
}
301302
}];
302303
}
303-
if (index == 3 && _myProject.is_public && !_myProject.is_public.boolValue) {
304-
WikiViewController *vc = [WikiViewController new];
305-
vc.myProject = self.myProject;
306-
[self.navigationController pushViewController:vc animated:YES];
307-
}else{
304+
// if (index == 3 && _myProject.is_public && !_myProject.is_public.boolValue) {
305+
// WikiViewController *vc = [WikiViewController new];
306+
// vc.myProject = self.myProject;
307+
// [self.navigationController pushViewController:vc animated:YES];
308+
// }else{
308309
ProjectViewController *vc = [[ProjectViewController alloc] init];
309310
vc.myProject = self.myProject;
310311
vc.curIndex = index;
311312
[self.navigationController pushViewController:vc animated:YES];
312-
}
313+
// }
313314
}
314315
- (void)gotoPro:(Project *)project{
315316
NProjectViewController *vc = [[NProjectViewController alloc] init];

0 commit comments

Comments
 (0)