File tree 1 file changed +8
-8
lines changed
Coding_iOS/Controllers/NProjectViewController
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -217,8 +217,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
217
217
if (_myProject.is_public .boolValue ) {
218
218
[cell setImageStr: @" project_item_member" andTitle: @" 成员" ];
219
219
}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"];
222
222
}
223
223
break ;
224
224
case 4 :
@@ -336,16 +336,16 @@ - (void)goToIndex:(NSInteger)index{
336
336
}
337
337
}];
338
338
}
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{
344
344
ProjectViewController *vc = [[ProjectViewController alloc ] init ];
345
345
vc.myProject = self.myProject ;
346
346
vc.curIndex = index ;
347
347
[self .navigationController pushViewController: vc animated: YES ];
348
- }
348
+ // }
349
349
}
350
350
- (void )gotoPro : (Project *)project {
351
351
NProjectViewController *vc = [[NProjectViewController alloc ] init ];
You can’t perform that action at this time.
0 commit comments